mirror of
https://git.freebsd.org/ports.git
synced 2025-07-01 01:20:31 -04:00
Add upstream patch to make it possible to build gcc on sparc64 [1] Fix CONFIGURE_TARGET to do the right thing, previously the binutils build could fail on amd64 when built as a dependency of for instance gcc. [2] PR: ports/179291 [1] Submitted by: Michael Moll <kvedulv@kvedulv.de> (PR) [1] Reported by: kwm and dim [2]
16 lines
502 B
C
16 lines
502 B
C
===================================================================
|
|
RCS file: gas/config/tc-sparc.h,v
|
|
retrieving revision 1.31
|
|
retrieving revision 1.32
|
|
diff -u -r1.31 -r1.32
|
|
--- gas/config/tc-sparc.h 2010/10/22 12:08:29 1.31
|
|
+++ gas/config/tc-sparc.h 2013/03/26 13:49:12 1.32
|
|
@@ -33,7 +33,7 @@
|
|
#define TARGET_ARCH bfd_arch_sparc
|
|
|
|
#ifdef TE_FreeBSD
|
|
-#define ELF_TARGET_FORMAT "elf32-sparc-freebsd"
|
|
+#define ELF_TARGET_FORMAT "elf32-sparc"
|
|
#define ELF64_TARGET_FORMAT "elf64-sparc-freebsd"
|
|
#endif
|
|
|