Commit e77aea2f authored by Vincent POLLET's avatar Vincent POLLET Committed by Amir MOHAMMADI

Fix: strip dead_strip_dylibs flag from LDFLAGS when build on mac

parent 118b0697
Pipeline #45796 passed with stage
in 19 minutes and 23 seconds
......@@ -35,7 +35,7 @@ if [ "${SHORT_OS_STR}" == "Darwin" ]; then
# CPU_DISPATCH:STRING=SSE4_1;SSE4_2;AVX;FP16;AVX2;AVX512_SKX
CPU_DISPATCH_FLAGS="-DCPU_DISPATCH=SSE4_1;SSE4_2;AVX;FP16"
# remove -dead_strip_dylibs from LDFLAGS if it exists
export LDFLAGS:=$(filter-out "-dead_strip_dylibs",$(LDFLAGS))
export LDFLAGS=${LDFLAGS//"-dead_strip_dylibs"/}
fi
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment