X-Git-Url: https://git.tld-linux.org/?a=blobdiff_plain;f=gcc-ada-x32.patch;fp=gcc-ada-x32.patch;h=27e7e7df8e901217aba7addd1daa0ca2fc5628b4;hb=024a8b62a6c19cc9df96fef6f2a4828841ed9765;hp=0000000000000000000000000000000000000000;hpb=69f33677e304f4dd322d3b72d960023c4b725097;p=packages%2Fgcc.git 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