diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-14 16:19:58 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-14 16:19:58 +0200 |
commit | ec0810b91aba837f684ed15f0b8abfb03299f661 (patch) | |
tree | 42d8e318d5cb084d9103f569c442be6841305b5b /src/Makefile | |
parent | f31f7960bd260cb90ffdd766393d51bd85a547d1 (diff) | |
download | abaos-ec0810b91aba837f684ed15f0b8abfb03299f661.tar.gz abaos-ec0810b91aba837f684ed15f0b8abfb03299f661.tar.bz2 |
some linkage tweaking, the kernel is not linked against libssp (which
is using linux/glibc), we provide our own SSP guards leading to
kernel_panic (for now).
per default build the kernel with ld (as we need precise control how
we link it)
the libc tests are per default linked with the same compiler as
provided with $(CC)
using #include_next of gcc/clang to include the real stdint.h header
file in stdint.h stub
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Makefile b/src/Makefile index b4ceff1..3c2849e 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,6 +3,7 @@ DEFINES = -DOS_ABAOS INCLUDES = -I. -Ilibc -Ihardware -Idrivers -Idrivers/hdi -Idrivers/hdi/ps2 -Idrivers/video -Ikernel -Igui CFLAGS := -std=c99 -m32 -march=i486 -ffreestanding -O0 -g -Werror $(INCLUDES) $(DEFINES) LD := ld +LDFLAGS := -lgcc NASMFLAGS := -f elf32 NASM := nasm OBJCOPY := objcopy |