diff options
author | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-04-04 14:03:23 +0200 |
---|---|---|
committer | Schanzenbach, Martin <mschanzenbach@posteo.de> | 2019-04-04 14:03:23 +0200 |
commit | 45deaaedad922fe114df9f5bb0e23fbec7c64f02 (patch) | |
tree | 4c716f90d102fca4b10f21034a15d7efa2dd3576 | |
parent | f13792325fc3f7e49ec2b0880eb4f1aa978e00d7 (diff) | |
download | gnunet-45deaaedad922fe114df9f5bb0e23fbec7c64f02.tar.gz gnunet-45deaaedad922fe114df9f5bb0e23fbec7c64f02.zip |
add check for undefined symbols
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index e0f58b985..8f85370a7 100644 --- a/configure.ac +++ b/configure.ac | |||
@@ -50,6 +50,7 @@ AC_FUNC_FSEEKO | |||
50 | 50 | ||
51 | 51 | ||
52 | CFLAGS="-Wall $CFLAGS" | 52 | CFLAGS="-Wall $CFLAGS" |
53 | LDFLAGS="$LDFLAGS -Wl,--unresolved-symbols=report-all" | ||
53 | # use '-fno-strict-aliasing', but only if the compiler can take it | 54 | # use '-fno-strict-aliasing', but only if the compiler can take it |
54 | if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; | 55 | if gcc -fno-strict-aliasing -S -o /dev/null -xc /dev/null >/dev/null 2>&1; |
55 | then | 56 | then |