summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-05-01 19:53:00 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-05-01 19:53:12 +0200
commitcac739a1998ad50ce3ca433d563d1802a55931e8 (patch)
tree6b35673f8ab665c6e99392f70e1e6f4da0de112b /src/Makefile
parent08ab6eb8e5be78d6362fccb95cdf825cd977d934 (diff)
downloadabaos-cac739a1998ad50ce3ca433d563d1802a55931e8.tar.gz
abaos-cac739a1998ad50ce3ca433d563d1802a55931e8.tar.bz2
some playing around with linker flags
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index ec9e466..c983fb6 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -14,7 +14,7 @@ boot.bin: boot.asm gdt.asm stage1_functions.asm stage2_functions.asm switch_mode
nasm boot.asm -f bin -o boot.bin
kernel.bin: kernel.o vga.o string.o
- $(LD) -o kernel.bin -Ttext 0x8000 -m elf_i386 --oformat binary \
+ $(LD) -o kernel.bin -n -Ttext 0x8000 --oformat binary \
kernel.o vga.o string.o
kernel.o: kernel.c