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
f46d39f852
commit
ab42b2ece3
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@
|
PYTHONPATH=$pypath DYLD_LIBRARY_PATH=$modpath exec $PREFIXCMD @PYTHON@
|
||||||
srcdir="@srcdir@"
|
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
|
case $1 in
|
||||||
*/*)
|
*/*)
|
||||||
dir=${1%/*}
|
dir=${1%/*}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue