From e2166a9feee8f05a6a6ede7d9e4527a3d93774b2 Mon Sep 17 00:00:00 2001 From: James Peach Date: Thu, 23 Nov 2006 06:07:03 +0000 Subject: r19851: Disable gcc PIE options on Darwin. (This used to be commit 23795be8b429d4423263e60ce80f454e2e42cae7) --- source3/configure.in | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index 4a453e4285..c534d870a1 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -1841,6 +1841,11 @@ case "$host_os" in BLDSHARED="true" LDSHFLAGS="-bundle -flat_namespace -undefined suppress" SHLIBEXT="dylib" + # Since gcc doesn't fail on unrecognised options, the + # PIE test incorrectly succeeds. Darwin gcc does not + # actually support the PIE stuff. + PIE_LDFLAGS= + PIE_CFLAGS= AC_DEFINE(STAT_ST_BLOCKSIZE,512) ;; -- cgit