mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-30 09:01:19 +00:00
[clang][scan-build] Use cc/c++ instead of gcc/g++ on OpenBSD.
Differential Revision: https://reviews.llvm.org/D109349
(cherry picked from commit b588f5d665
)
This commit is contained in:
parent
08642a395f
commit
dda88bfc06
@ -80,6 +80,9 @@ if (`uname -a` =~ m/Darwin/) {
|
||||
if (-x "/usr/bin/xcrun") {
|
||||
$UseXCRUN = 1;
|
||||
}
|
||||
} elsif (`uname -a` =~ m/OpenBSD/) {
|
||||
$DefaultCCompiler = 'cc';
|
||||
$DefaultCXXCompiler = 'c++';
|
||||
} else {
|
||||
$DefaultCCompiler = 'gcc';
|
||||
$DefaultCXXCompiler = 'g++';
|
||||
|
Loading…
Reference in New Issue
Block a user