diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-12-20 20:51:05 +0100 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-12-20 21:01:30 +0100 |
commit | f006e66a259e509dd91b97bca206e1e71d95e3af (patch) | |
tree | 77a774fe054ee23a91fd6e66a009dcd249052b28 /Kernel | |
parent | 6ec46aad6681d29550f05b820df5456ac3b46b76 (diff) | |
download | serenity-f006e66a259e509dd91b97bca206e1e71d95e3af.zip |
Kernel: Make sure we build with -mno-387, -mno-sse, etc.
Diffstat (limited to 'Kernel')
-rw-r--r-- | Kernel/Makefile | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Kernel/Makefile b/Kernel/Makefile index d9b15fc87d..6fd0dd6808 100644 --- a/Kernel/Makefile +++ b/Kernel/Makefile @@ -110,10 +110,11 @@ KERNEL = 1 PROGRAM = kernel -CXXFLAGS += -ffreestanding -mno-80387 -mno-mmx -mno-sse -mno-sse2 -fno-asynchronous-unwind-tables -CXXFLAGS += -nostdlib -nostdinc -nostdinc++ -CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/9.2.0/ -CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/9.2.0/i686-pc-serenity/ +SUBPROJECT_CXXFLAGS += -ffreestanding -mno-80387 -mno-mmx -mno-sse -mno-sse2 -fno-asynchronous-unwind-tables +SUBPROJECT_CXXFLAGS += -nostdlib -nostdinc -nostdinc++ +SUBPROJECT_CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/9.2.0/ +SUBPROJECT_CXXFLAGS += -I../Toolchain/Local/i686-pc-serenity/include/c++/9.2.0/i686-pc-serenity/ + LDFLAGS += -Ttext 0x100000 -Wl,-T linker.ld -nostdlib -lgcc -lstdc++ all: $(PROGRAM) $(MODULE_OBJS) kernel.map |