svn commit: r470017 - head/devel/powerpc64-gcc/files
Alexander Kabaev
kan at FreeBSD.org
Tue May 15 14:01:34 UTC 2018
Author: kan
Date: Tue May 15 14:01:33 2018
New Revision: 470017
URL: https://svnweb.freebsd.org/changeset/ports/470017
Log:
Make mips64 compiler use /lib:/usr/lib instead if lib64 variants
This allows mips64 compiler to be used bo build base/ packages,
while it was failing to find crt1.o and like before.
Modified:
head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips
Modified: head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips
==============================================================================
--- head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Tue May 15 13:43:34 2018 (r470016)
+++ head/devel/powerpc64-gcc/files/patch-gcc-freebsd-mips Tue May 15 14:01:33 2018 (r470017)
@@ -64,7 +64,7 @@ new file mode 100644
index 0000000..56a921e
--- /dev/null
+++ gcc/config/mips/freebsd.h
-@@ -0,0 +1,340 @@
+@@ -0,0 +1,347 @@
+/* Definitions for MIPS varients running FreeBSD with ELF format
+ Copyright (C) 2008 Free Software Foundation, Inc.
+ Continued by David O'Brien <obrien at freebsd.org>
@@ -405,6 +405,13 @@ index 0000000..56a921e
+
+/************************[ Debugger stuff ]*********************************/
+#undef DBX_DEBUGGING_INFO
++
++#if MIPS_ABI_DEFAULT == ABI_64
++#undef STANDARD_STARTFILE_PREFIX_1
++#define STANDARD_STARTFILE_PREFIX_1 "/lib/"
++#undef STANDARD_STARTFILE_PREFIX_2
++#define STANDARD_STARTFILE_PREFIX_2 "/usr/lib/"
++#endif
diff --git a/libgcc/config.host b/libgcc/config.host
index f4a7428..5e5c33e 100644
--- libgcc/config.host
More information about the svn-ports-head
mailing list