From 657a7da5211f11928de7f4c83b3fd56fb609951a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Jacke?= 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. (cherry picked from commit e8468ab02b201885b6a211c4b27913014ee9a5a2) --- source3/configure.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index 8048602e83c..b9d5da11cc8 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1436,9 +1436,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 v1.2.1