updated icu
sgraves/cpp-build-system_mac/pipeline/head Something is wrong with the build of this commit
sgraves/cpp-build-system_mac/pipeline/head Something is wrong with the build of this commit
This commit is contained in:
1 parent
36a1c9b89e
commit
b392794679
6 files changed
+8
-9
No files matched your search
Vendored
+4
-5
@@ -1,11 +1,10 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
if ([ "$(uname -m)" == "arm64" ] || [ "$(uname -m)" == "aarch64" ]) && [ "${PROJECT_IS_ARM64}" == "0" ]; then
|
||||
if ([ "$(uname -m)" == "arm64" ] || [ "$(uname -m)" == "aarch64" ]) &&
|
||||
[ "${PROJECT_IS_ARM64}" == "0" ]; then
|
||||
HOST_CFG="--host=x86_64-apple-darwin"
|
||||
CLANG_BIN="$(xcrun -f clang)"
|
||||
CLANGXX_BIN="$(xcrun -f clang++)"
|
||||
export CC="${CLANG_BIN} -arch x86_64"
|
||||
export CXX="${CLANGXX_BIN} -arch x86_64"
|
||||
export CC="clang -arch x86_64"
|
||||
export CXX="clang++ -arch x86_64"
|
||||
fi
|
||||
|
||||
CXXFLAGS="-std=gnu++17 -march=$1 -mtune=generic" ./configure \
|
||||
|
||||
Reference in new issue
Block a user