Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F103135843
D19129.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
796 B
Referenced Files
None
Subscribers
None
D19129.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D19129: Permit base/gcc to be built as a native package.
Attached
Detach File
Event Timeline
Log In to Comment