diff options
author | Tuan M. Hoang <tmhoang@flatglobe.org> | 2016-11-21 05:28:27 +0700 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2016-11-21 08:37:19 +0000 |
commit | f41e7533051039a224a302fafe8356548af0c543 (patch) | |
tree | 21dcace3dbd55c7d0be60cfc9233b35a31dd39ea /main/gcc/gcc-pure64.patch | |
parent | 27318a6c19bc713cda1ec41bc044ca97e21d4db4 (diff) | |
download | aports-f41e7533051039a224a302fafe8356548af0c543.tar.bz2 aports-f41e7533051039a224a302fafe8356548af0c543.tar.xz |
main/gcc: add s390x support
Diffstat (limited to 'main/gcc/gcc-pure64.patch')
-rw-r--r-- | main/gcc/gcc-pure64.patch | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/main/gcc/gcc-pure64.patch b/main/gcc/gcc-pure64.patch index 53f882ea1b..aa5b02295a 100644 --- a/main/gcc/gcc-pure64.patch +++ b/main/gcc/gcc-pure64.patch @@ -20,3 +20,12 @@ MULTIARCH_DIRNAME = $(call if_multiarch,aarch64$(AARCH_BE)-linux-gnu) MULTILIB_OSDIRNAMES += mabi.ilp32=../libilp32 +--- ./gcc/config/s390/t-linux64.orig ++++ ./gcc/config/s390/t-linux64 +@@ -7,5 +7,5 @@ + MULTILIB_OPTIONS = m64/m31 + MULTILIB_DIRNAMES = 64 32 +-MULTILIB_OSDIRNAMES = ../lib64$(call if_multiarch,:s390x-linux-gnu) +-MULTILIB_OSDIRNAMES += $(if $(wildcard $(shell echo $(SYSTEM_HEADER_DIR))/../../usr/lib32),../lib32,../lib)$(call if_multiarch,:s390-linux-gnu) ++MULTILIB_OSDIRNAMES = m64=../lib ++MULTILIB_OSDIRNAMES+= m32=../lib32 |