From 655fbea86890df5d98557cf54e069b112c04521e Mon Sep 17 00:00:00 2001 From: Sam Saffron Date: Sat, 14 Sep 2024 19:23:32 +1000 Subject: [PATCH] try to force linux on to clang --- libexec/platform | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libexec/platform b/libexec/platform index 91343aa..74ea826 100755 --- a/libexec/platform +++ b/libexec/platform @@ -98,10 +98,10 @@ if [ "${host_platform}" != "${target_platform}" ]; then configure_flags='--dest-cpu=arm --cross-compiling --dest-os=linux --with-arm-float-abi=hard --with-arm-fpu=neon' ;; x86_64-*linux*) - CC='x86_64-linux-gnu-gcc' - CXX='x86_64-linux-gnu-g++' - CC_host='gcc' - CXX_host='g++' + CC='clang -arch x86_64' + CXX='clang++ -arch x86_64' + CC_host='clang' + CXX_host='clang++' STRIP='x86_64-linux-gnu-strip' configure_flags='--dest-cpu=x86_64 --cross-compiling --dest-os=linux' ;;