diff options
| -rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 6c55b89e7..eaa420af7 100644 --- a/configure.ac +++ b/configure.ac @@ -80,7 +80,7 @@ if test "$GCC" = "yes"; then AC_MSG_CHECKING([linker tolerates -z relro]) ink_svd_LDFLAGS="$LDFLAGS" LDFLAGS="-Wl,-z,relro $LDFLAGS" - AC_COMPILE_IFELSE(AC_LANG_PROGRAM([]), [ink_opt_ok=yes], [ink_opt_ok=no]) + AC_LINK_IFELSE(AC_LANG_PROGRAM([]), [ink_opt_ok=yes], [ink_opt_ok=no]) AC_MSG_RESULT([$ink_opt_ok]) if test "x$ink_opt_ok" != "xyes"; then LDFLAGS="$ink_svd_LDFLAGS" |
