Page MenuHomeFreeBSD

D19129.diff
No OneTemporary

D19129.diff

Index: head/base/gcc/Makefile
===================================================================
--- head/base/gcc/Makefile
+++ head/base/gcc/Makefile
@@ -21,14 +21,6 @@
LICENSE= GPLv3 GPLv3RLE
LICENSE_COMB= multi
-.if !defined(CROSS_TOOLCHAIN)
-.error Please define CROSS_TOOLCHAIN before building
-.endif
-
-.if !defined(CROSS_SYSROOT)
-.error Please define CROSS_SYSROOT before building
-.endif
-
TARGETARCH= ${ARCH:S/amd64/x86_64/}
GCC_TARGET= ${TARGETARCH}-unknown-${OPSYS:tl}${OSREL}
@@ -66,6 +58,12 @@
.if ${OSVERSION} >= 1200000
CONFIGURE_ARGS+= --enable-initfini-array
+.endif
+
+.if ${ARCH} == "amd64"
+CONFIGURE_TARGET= x86_64-unknown-${OPSYS:tl}${OSREL}
+.else
+CONFIGURE_TARGET= ${ARCH}-unknown-${OPSYS:tl}${OSREL}
.endif
.if ${ARCH} == "amd64" || ${ARCH} == "i386"

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 11:42 AM (17 h, 43 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14775415
Default Alt Text
D19129.diff (796 B)

Event Timeline