From daa7f5fa8893059451354965e00ac5b0ffd5776d 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: [PATCH 6/9] 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 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/configure.in b/source3/configure.in index a0197d4..11ef115 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 -- 1.7.1