do not set -fsanitize=address when building miniupnpc for macOS
This commit is contained in:
parent
471c313f9d
commit
87e818b707
|
@ -45,8 +45,10 @@ compiler:
|
|||
|
||||
before_install:
|
||||
- 'if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$CC" == "gcc" ] ; then CC=gcc-4.9; fi'
|
||||
- export CFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer"
|
||||
- export LDFLAGS="-fsanitize=address -g"
|
||||
- 'if [ "$TRAVIS_OS_NAME" != "osx" ] || [ "$PROJECT" != "miniupnpc" ] ; then
|
||||
export CFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer" ;
|
||||
export LDFLAGS="-fsanitize=address -g" ;
|
||||
fi'
|
||||
|
||||
script:
|
||||
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'
|
||||
|
|
Loading…
Reference in New Issue