[packages/gcc] - fix ada to allow native x32 build
baggins
baggins at pld-linux.org
Fri Jan 2 18:23:50 CET 2015
commit f13f5c540c400b8dbf17e9107cf9363113f9251d
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Fri Jan 2 18:23:44 2015 +0100
- fix ada to allow native x32 build
gcc-ada-x32.patch | 20 ++++++++++++++++++++
1 file changed, 20 insertions(+)
---
diff --git a/gcc-ada-x32.patch b/gcc-ada-x32.patch
new file mode 100644
index 0000000..99c9b8e
--- /dev/null
+++ b/gcc-ada-x32.patch
@@ -0,0 +1,20 @@
+Based on patch from https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56030
+Blocking gug https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54040 has been fixed
+
+--- gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in~ 2014-12-27 17:19:06.000000000 +0000
++++ gcc-4.9.2/gcc/ada/gcc-interface/Makefile.in 2014-12-27 18:11:33.908691021 +0000
+@@ -355,6 +355,14 @@
+ else
+ ifeq ($(strip $(MULTISUBDIR)),/x32)
+ target_cpu:=x32
++ else
++ ifeq ($(strip $(MULTISUBDIR)),/64)
++ target_cpu:=x86_64
++ else
++ ifneq ($(findstring gnux32,$(target_os)),)
++ target_cpu:=x32
++ endif
++ endif
+ endif
+ endif
+ endif
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gcc.git/commitdiff/f13f5c540c400b8dbf17e9107cf9363113f9251d
More information about the pld-cvs-commit
mailing list