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.
2 parents 089643b + a58aa66 commit 9f02855Copy full SHA for 9f02855
script/ci-build-libsass
@@ -48,6 +48,18 @@ if [ "x$PREFIX" == "x" ]; then
48
fi
49
50
51
+# enable address sanitation
52
+# https://en.wikipedia.org/wiki/AddressSanitizer
53
+if [ "x$CC" == "xclang" ]; then
54
+ if [ "x$COVERAGE" != "xyes" ]; then
55
+ if [ "$TRAVIS_OS_NAME" == "linux" ]; then
56
+ export EXTRA_CFLAGS="$EXTRA_CFLAGS -fsanitize=address"
57
+ export EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -fsanitize=address"
58
+ export EXTRA_LDFLAGS="$EXTRA_LDFLAGS -fsanitize=address"
59
+ fi
60
61
+fi
62
+
63
echo SASS_LIBSASS_PATH: $SASS_LIBSASS_PATH
64
echo TRAVIS_BUILD_DIR: $TRAVIS_BUILD_DIR
65
echo SASS_SASSC_PATH: $SASS_SASSC_PATH
0 commit comments