]> git.pld-linux.org Git - packages/gcc.git/commitdiff
- fix ada to allow native x32 build
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 2 Jan 2015 17:23:44 +0000 (18:23 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 2 Jan 2015 17:23:44 +0000 (18:23 +0100)
gcc-ada-x32.patch [new file with mode: 0644]

diff --git a/gcc-ada-x32.patch b/gcc-ada-x32.patch
new file mode 100644 (file)
index 0000000..99c9b8e
--- /dev/null
@@ -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
This page took 0.040749 seconds and 4 git commands to generate.