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:
parent
91e8ced372
commit
125ca7df7a
1 changed files with 5 additions and 0 deletions
|
|
@ -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%/*}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue