X-Git-Url: https://git.tld-linux.org/?p=packages%2Fgcc.git;a=blobdiff_plain;f=gcc-ada-x32.patch;fp=gcc-ada-x32.patch;h=27e7e7df8e901217aba7addd1daa0ca2fc5628b4;hp=0000000000000000000000000000000000000000;hb=0cc40f1140a34da1d51dbd0012fdbc06f207b842;hpb=c5a41995c71ea9b25cba74c15a20e216a2485cbb diff --git a/gcc-ada-x32.patch b/gcc-ada-x32.patch new file mode 100644 index 0000000..27e7e7d --- /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 bug 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