]> git.ipfire.org Git - people/teissler/ipfire-2.x.git/commitdiff
grub: Remove all CFLAGS.
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Sep 2012 19:24:59 +0000 (21:24 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 4 Sep 2012 19:24:59 +0000 (21:24 +0200)
lfs/grub

index 56935f0f7ecf17cda03c333c2c86401fbe6379b6..76315fa37e67fdd4d3859699d99e88be4a58e23d 100644 (file)
--- a/lfs/grub
+++ b/lfs/grub
@@ -32,8 +32,7 @@ DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 SUP_ARCH   = i586
-CFLAGS     = -O0 -fno-reorder-functions -fno-strict-aliasing -Wall -Werror \
-       -Wno-shadow -Wno-unused -Wno-pointer-sign
+CFLAGS     =
 CXXFLAGS   =
 
 ###############################################################################
@@ -81,8 +80,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        cd $(DIR_APP) && autoconf
 
        # Build.
-       cd $(DIR_APP) && CFLAGS="$(CFLAGS)" ./configure --prefix=/usr \
-               --disable-auto-linux-mem-opt
+       cd $(DIR_APP) && CFLAGS="$(CFLAGS)" ./configure --prefix=/usr
        cd $(DIR_APP) && make $(MAKETUNING)
        cd $(DIR_APP) && make install