Fix building the amd64 loader
This commit is contained in:
parent
1f07b0b9b4
commit
bdfe05c628
|
@ -29,6 +29,7 @@ asflags=`../../tools/platform.sh -V ULOADER_CFLAGS -C "$$ARCH"`
|
|||
[libuLoader]
|
||||
type=library
|
||||
sources=boot/multiboot.c,bus.c,bus/cmos.c,bus/ioport.c,bus/vga.c,clock.c,clock/cmos.c,console.c,console/uart.c,display.c,display/vesa.c,display/vga.c,libk.c,syscalls.S
|
||||
asflags=`../../tools/platform.sh -V LIBULOADER_ASFLAGS -C "$$ARCH"`
|
||||
cflags=`../../tools/platform.sh -V LIBULOADER_CFLAGS -C "$$ARCH"`
|
||||
ldflags=`../../tools/platform.sh -V LIBULOADER_LDFLAGS -C "$$ARCH"`
|
||||
|
||||
|
|
|
@ -187,8 +187,8 @@ _platform_variable_amd64()
|
|||
LIBK_LDFLAGS|NATIVE_LDFLAGS)
|
||||
echo "-nostdlib"
|
||||
;;
|
||||
LIBULOADER_CFLAGS)
|
||||
echo "-m32 -ffreestanding -fPIC -mno-red-zone$extra"
|
||||
LIBULOADER_ASFLAGS|LIBULOADER_CFLAGS)
|
||||
echo "-m32 -ffreestanding -fPIC$extra"
|
||||
;;
|
||||
LIBULOADER_LDFLAGS)
|
||||
echo "-m32 -nostdlib"
|
||||
|
|
Loading…
Reference in New Issue
Block a user