Fix out-of-tree building

This commit is contained in:
David Seifert 2018-04-20 17:06:34 +02:00 committed by Erik de Castro Lopo
parent f6818f39d7
commit 4ab74d919f

View File

@ -42,7 +42,7 @@ if test -n "@GCC_MAJOR_VERSION@" ; then
CC=`echo "@CC@" | sed "s/.*shave cc //"`
# Compile with -Werror and -pedantic.
$CC -std=c99 -Werror -pedantic -I@top_srcdir@/src -I@top_builddir@/src -c @top_srcdir@/tests/sfversion.c -o /dev/null
$CC -std=c99 -Werror -pedantic -I@top_srcdir@/src -I@abs_top_builddir@/src -c @top_srcdir@/tests/sfversion.c -o /dev/null
# Check compiler return status.
if test $? -ne 0 ; then