From 96ee9568eddf1a2f80ed5beb916ad00b1e2710bd Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Sat, 29 May 2010 01:40:21 +0200 Subject: s3: fix check for pie compiler flags some compilers (HP and Sun e.g.) output warning messages on stderr for unknown options and we ended up partly using some unwanted random compile flags we did't intend to use. --- source3/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/configure.in b/source3/configure.in index 387e382dde..630421ab45 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1498,9 +1498,9 @@ then [ cat > conftest.c <&AS_MESSAGE_LOG_FD]) + if AC_TRY_COMMAND_NO_STDERR([${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS -pie -fPIE -o conftest conftest.c]) then samba_cv_fpie=yes else -- cgit