tests: reset CFLAGS

* tests/run.in: Here.  This helps when spins is installed an the tests
actually compile code; we do not want to inherit the -std=c11
-fvisibility=hidden set for compiling Spot.
This commit is contained in:
Alexandre Duret-Lutz 2016-06-14 14:39:53 +02:00
parent 91e8ced372
commit 125ca7df7a

View file

@ -48,6 +48,11 @@ test -z "$1" &&
PYTHONPATH=$pypath DYLD_LIBRARY_PATH=$modpath exec $PREFIXCMD @PYTHON@
srcdir="@srcdir@"
# Reset CFLAGS, because some tests call the compiler, and we do not
# want to inherit parameters likes -std=c11 -fvisibility=hidden
CFLAGS=
export CFLAGS
case $1 in
*/*)
dir=${1%/*}