Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F148775034
D29236.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
624 B
Referenced Files
None
Subscribers
None
D29236.diff
View Options
Index: Mk/bsd.port.mk
===================================================================
--- Mk/bsd.port.mk
+++ Mk/bsd.port.mk
@@ -1070,6 +1070,9 @@
IGNORE= CROSS_SYSROOT should be defined
.endif
.include "${LOCALBASE}/share/toolchains/${CROSS_TOOLCHAIN}.mk"
+# Do not override CC, etc for CMake. A Toolchain file must be generated
+# instead.
+.if !(defined(USES) && ${USES:Mcmake*})
# Do not define CPP on purpose
.if !defined(HOSTCC)
HOSTCC:= ${CC}
@@ -1093,6 +1096,7 @@
STRIPBIN= ${STRIP_CMD}
.export.env STRIPBIN
.endif
+.endif
#
# DESTDIR section to start a chrooted process if invoked with DESTDIR set
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Mar 21, 4:07 AM (14 h, 44 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30059537
Default Alt Text
D29236.diff (624 B)
Attached To
Mode
D29236: Don't override CC with cmake and CROSS_TOOLCHAIN
Attached
Detach File
Event Timeline
Log In to Comment