Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F101990334
D28323.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D28323.diff
View Options
diff --git a/tools/build/make.py b/tools/build/make.py
--- a/tools/build/make.py
+++ b/tools/build/make.py
@@ -182,13 +182,6 @@
sys.exit("TARGET= and TARGET_ARCH= must be set explicitly "
"when building on non-FreeBSD")
# infer values for CC/CXX/CPP
-
- if sys.platform.startswith(
- "linux") and parsed_args.host_compiler_type == "cc":
- # FIXME: bsd.compiler.mk doesn't handle the output of GCC if it
- # is /usr/bin/cc on Ubuntu since it doesn't contain the GCC string.
- parsed_args.host_compiler_type = "gcc"
-
if parsed_args.host_compiler_type == "gcc":
default_cc, default_cxx, default_cpp = ("gcc", "g++", "cpp")
# FIXME: this should take values like `clang-9` and then look for
@@ -225,8 +218,8 @@
if not shutil.which("strip"):
if sys.platform.startswith("darwin"):
# On macOS systems we have to use /usr/bin/strip.
- sys.exit("Cannot find required tool 'strip'. Please install the"
- " host compiler and command line tools.")
+ sys.exit("Cannot find required tool 'strip'. Please install "
+ "the host compiler and command line tools.")
if parsed_args.host_compiler_type == "clang":
strip_binary = "llvm-strip"
else:
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 7, 6:29 AM (21 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
14506125
Default Alt Text
D28323.diff (1 KB)
Attached To
Mode
D28323: tools/build/make.py: drop workaround for cc --version not being parsed
Attached
Detach File
Event Timeline
Log In to Comment