Skip to content

Commit 655fbea

Browse files
committed
try to force linux on to clang
1 parent 7249c5d commit 655fbea

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libexec/platform

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,10 @@ if [ "${host_platform}" != "${target_platform}" ]; then
9898
configure_flags='--dest-cpu=arm --cross-compiling --dest-os=linux --with-arm-float-abi=hard --with-arm-fpu=neon'
9999
;;
100100
x86_64-*linux*)
101-
CC='x86_64-linux-gnu-gcc'
102-
CXX='x86_64-linux-gnu-g++'
103-
CC_host='gcc'
104-
CXX_host='g++'
101+
CC='clang -arch x86_64'
102+
CXX='clang++ -arch x86_64'
103+
CC_host='clang'
104+
CXX_host='clang++'
105105
STRIP='x86_64-linux-gnu-strip'
106106
configure_flags='--dest-cpu=x86_64 --cross-compiling --dest-os=linux'
107107
;;

0 commit comments

Comments
 (0)