We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4735593 commit a1e0579Copy full SHA for a1e0579
build-all.sh
@@ -95,6 +95,10 @@ for dep in git cmake ${HOST_CLANG}; do
95
fi
96
done
97
98
+if [ -n "${HOST_CLANG}" ] && [ "${CFGUARD_ARGS}" = "--enable-cfguard" ]; then
99
+ "${HOST_CLANG}" -c -x c -o - - -Werror -mguard=cf </dev/null >/dev/null 2>/dev/null || CFGUARD_ARGS="--disable-cfguard"
100
+fi
101
+
102
if [ -z "$NO_TOOLS" ]; then
103
if [ -z "${HOST_CLANG}" ]; then
104
./build-llvm.sh $PREFIX $LLVM_ARGS $HOST_ARGS
0 commit comments