[packages/grub2] - drop ifdefs around carbon-dated gcc

baggins baggins at pld-linux.org
Tue Apr 16 01:31:11 CEST 2013


commit 18af5e333992733f1072bf4e4e7892adf2b5d0a1
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Tue Apr 16 00:33:22 2013 +0200

    - drop ifdefs around carbon-dated gcc

 grub2.spec | 11 -----------
 1 file changed, 11 deletions(-)
---
diff --git a/grub2.spec b/grub2.spec
index 2688136..51cac28 100644
--- a/grub2.spec
+++ b/grub2.spec
@@ -13,12 +13,6 @@
 %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
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grub2.git/commitdiff/5cf7a127215ebcb1e5a7fb85af02ebed5fa4418a



More information about the pld-cvs-commit mailing list