* grub-core/Makefile.am (rs_decoder.S): Add missing -ffreestanding.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2012-06-05 17:18:04 +02:00
parent 944f752dbb
commit b99f3e00a1
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
* grub-core/Makefile.am (rs_decoder.S): Add missing -ffreestanding.
2012-06-05 Vladimir Serbinenko <phcoder@gmail.com>
* util/grub-probe.c (escape_of_path): Fix double free.

View File

@ -52,7 +52,7 @@ grub_script.yy.h: script/yylex.l
grub_script.yy.c: grub_script.yy.h
rs_decoder.S: $(srcdir)/lib/reed_solomon.c
$(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -Os -I$(top_builddir) -S -DSTANDALONE -o $@ $< -g0 -mregparm=3
$(TARGET_CC) $(TARGET_CPPFLAGS) $(TARGET_CFLAGS) -Os -I$(top_builddir) -S -DSTANDALONE -o $@ $< -g0 -mregparm=3 -ffreestanding
kern/i386/pc/startup.S: $(builddir)/rs_decoder.S