]> git.pld-linux.org Git - packages/grub2.git/commitdiff
- drop ifdefs around carbon-dated gcc
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Apr 2013 22:33:22 +0000 (00:33 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 15 Apr 2013 22:33:22 +0000 (00:33 +0200)
grub2.spec

index 2688136c1eb1397d538bc37eba5adc16356ca075..51cac2812383499073316268f9c401044181ec60 100644 (file)
 %bcond_without pc      # do not build for PC BIOS platform
 %bcond_without efi     # do not build for EFI platform
 
-%if "%{cc_version}" < "3.4"
-# cc does not support:
-# cc1: sorry, unimplemented: code model `large' not supported yet
-%undefine      with_efiemu
-%endif
-
 %ifnarch %{ix86} %{x8664}
 %undefine      with_pc
 %endif
@@ -310,11 +304,6 @@ Motyw starfield dla GRUB-a.
 %patch20 -p1
 %patch21 -p1
 
-%if "%{cc_version}" < "3.4"
-grep -rl -- -Wno-missing-field-initializers . | xargs %{__sed} -i -e 's,-Wno-missing-field-initializers,,'
-%{__sed} -i -e '/video_mod_CFLAGS/s/$/ -Wno-error/' conf/common.rmk
-%endif
-
 %build
 # if gold is used then grub doesn't even boot
 install -d our-ld
This page took 0.032897 seconds and 4 git commands to generate.