Keep LDFLAGS if --coverage
This commit is contained in:
parent
85d0e1bcce
commit
310111e093
@ -156,7 +156,7 @@ AC_CHECK_TYPES([__int128])
|
|||||||
if test x"$enable_coverage" = x"yes"; then
|
if test x"$enable_coverage" = x"yes"; then
|
||||||
AC_DEFINE(COVERAGE, 1, [Define this symbol to compile out all VERIFY code])
|
AC_DEFINE(COVERAGE, 1, [Define this symbol to compile out all VERIFY code])
|
||||||
CFLAGS="$CFLAGS -O0 --coverage"
|
CFLAGS="$CFLAGS -O0 --coverage"
|
||||||
LDFLAGS="--coverage"
|
LDFLAGS="$LDFLAGS --coverage"
|
||||||
else
|
else
|
||||||
CFLAGS="$CFLAGS -O3"
|
CFLAGS="$CFLAGS -O3"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user