]> git.pld-linux.org Git - packages/grub2.git/commitdiff
- keep the build as simple as possible
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Apr 2013 21:08:44 +0000 (23:08 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Apr 2013 21:08:44 +0000 (23:08 +0200)
grub2.spec

index b0013b15e2f823ddbba9842e55462712acd8259f..1f3eb762a22ebb50eda91c56ef21d61b9db77f04 100644 (file)
@@ -134,8 +134,9 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 # part of grub code is not relocable (these are not Linux libs)
 # stack protector also breaks non-Linux binaries
-%define                filterout_c     -fPIC
+%define                filterout_c     -fPIC -O.
 %undefine      _ssp_cflags
+%undefine      _fortify_cflags
 
 %description
 GRUB is a GPLed bootloader intended to unify bootloading across x86
@@ -314,9 +315,9 @@ grep -rl -- -Wno-missing-field-initializers . | xargs %{__sed} -i -e 's,-Wno-mis
 
 %build
 # if gold is used then grub doesn't even boot
-install -d our-ld
-ln -s /usr/bin/ld.bfd our-ld/ld
-export PATH=$(pwd)/our-ld:$PATH
+#install -d our-ld
+#ln -s /usr/bin/ld.bfd our-ld/ld
+#export PATH=$(pwd)/our-ld:$PATH
 
 cp -f /usr/share/automake/config.sub .
 %{__libtoolize}
This page took 0.197651 seconds and 4 git commands to generate.