We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ebcacad commit 0eddb3eCopy full SHA for 0eddb3e
build.sh
@@ -213,12 +213,14 @@ case "$platform" in # Adjust compilation options based on platform
213
214
python3 ./scripts/download-macos-libs.py ${target_arch}
215
lib_prefix=${PWD}/macos-libs/${target_arch}/opt/local
216
- export CFLAGS="-arch ${target_arch} \
+ export CFLAGS="${CFLAGS} \
217
+ -arch ${target_arch} \
218
-target ${target_arch}-apple-macos${macos_min_ver} \
219
-isysroot ${sdk} \
220
-I${lib_prefix}/include \
221
-mmacosx-version-min=$macos_min_ver"
- export LDFLAGS="-arch ${target_arch} \
222
+ export LDFLAGS="${LDFLAGS} \
223
224
-isysroot ${sdk}"
225
if [ "$target_arch" == "x86_64" ]; then
226
sys_cflags='-march=ivybridge'
0 commit comments