]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Let grub build without SSP and PIE.
authorMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Jun 2008 08:54:34 +0000 (10:54 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Wed, 11 Jun 2008 08:54:34 +0000 (10:54 +0200)
lfs/grub

index df4469ad62373646bfac5165668be453516fe310..2b204e92630aaa0f8230a97c2bddd83f124fdb2c 100644 (file)
--- a/lfs/grub
+++ b/lfs/grub
@@ -78,7 +78,9 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
        
        cd $(DIR_APP) && autoconf
        
-       cd $(DIR_APP) && ./configure --prefix=/usr
+       cd $(DIR_APP) && \
+               CC="gcc -fno-stack-protector -fno-pic -fno-pie -nopie" \
+               ./configure --prefix=/usr
 
        cd $(DIR_APP) && make -j $(PRALLELISM)
        cd $(DIR_APP) && make install