diff --git a/ChangeLog b/ChangeLog index 33a5abbfb..6e5bbeefc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-08-04 Robert Millan + + * conf/i386-coreboot.rmk (COMMON_ASFLAGS, COMMON_CFLAGS) + (COMMON_LDFLAGS): Harmonize with i386-pc version (fixes a code + corruption problem). + 2008-08-04 Robert Millan * loader/i386/pc/multiboot.c (grub_multiboot_load_elf32): Fix misc diff --git a/conf/i386-coreboot.mk b/conf/i386-coreboot.mk index 3fbce3630..e01f4e810 100644 --- a/conf/i386-coreboot.mk +++ b/conf/i386-coreboot.mk @@ -1,9 +1,9 @@ # -*- makefile -*- # Generated by genmk.rb, please don't edit! -COMMON_ASFLAGS = -m32 -nostdinc -fno-builtin -COMMON_CFLAGS = -ffreestanding -mrtd -mregparm=3 -COMMON_LDFLAGS = -nostdlib -static -lgcc +COMMON_ASFLAGS = -nostdinc -fno-builtin -m32 +COMMON_CFLAGS = -fno-builtin -mrtd -mregparm=3 -m32 +COMMON_LDFLAGS = -m32 -nostdlib # Used by various components. These rules need to precede them. normal/lexer.c_DEPENDENCIES = grub_script.tab.h diff --git a/conf/i386-coreboot.rmk b/conf/i386-coreboot.rmk index 01f3165a1..c4dc567be 100644 --- a/conf/i386-coreboot.rmk +++ b/conf/i386-coreboot.rmk @@ -1,8 +1,8 @@ # -*- makefile -*- -COMMON_ASFLAGS = -m32 -nostdinc -fno-builtin -COMMON_CFLAGS = -ffreestanding -mrtd -mregparm=3 -COMMON_LDFLAGS = -nostdlib -static -lgcc +COMMON_ASFLAGS = -nostdinc -fno-builtin -m32 +COMMON_CFLAGS = -fno-builtin -mrtd -mregparm=3 -m32 +COMMON_LDFLAGS = -m32 -nostdlib # Used by various components. These rules need to precede them. normal/lexer.c_DEPENDENCIES = grub_script.tab.h