Page MenuHomeFreeBSD

D28323.diff
No OneTemporary

D28323.diff

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

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)

Event Timeline