pkgsrc-ng/lang/gcc45/patches/patch-gcc_config_sparc_t-netbsd64
Lionel Sambuc 612ad0a18c lang/gcc45
2016-01-22 00:09:29 +01:00

22 lines
640 B
Plaintext

$NetBSD$
--- gcc/config/sparc/t-netbsd64.orig Wed Sep 4 18:18:37 2002
+++ gcc/config/sparc/t-netbsd64
@@ -1,8 +1,9 @@
-# Disable multilib fow now, as NetBSD/sparc64 does not ship with
-# a 32-bit environment.
-#MULTILIB_OPTIONS = m32/m64
-#MULTILIB_DIRNAMES = 32 64
-#MULTILIB_MATCHES =
+# NetBSD has (will have) "non-native" libraries in /usr/lib/<arch>.
+# For NetBSD/sparc64 we thus have /usr/lib and /usr/lib/sparc.
-#LIBGCC = stmp-multilib
-#INSTALL_LIBGCC = install-multilib
+MULTILIB_OPTIONS = m64/m32
+MULTILIB_DIRNAMES = 64 32
+MULTILIB_OSDIRNAMES = . ../lib/sparc
+
+LIBGCC = stmp-multilib
+INSTALL_LIBGCC = install-multilib