diff options
author | James Peach <jpeach@samba.org> | 2006-11-23 06:07:03 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:16:02 -0500 |
commit | e2166a9feee8f05a6a6ede7d9e4527a3d93774b2 (patch) | |
tree | 39f91fbfbf0b58b0825f22fc0e3938dc4241b363 /source3 | |
parent | 19d7a9c3155b7fa1b8aba945812e60703c0c4130 (diff) | |
download | samba-e2166a9feee8f05a6a6ede7d9e4527a3d93774b2.tar.gz samba-e2166a9feee8f05a6a6ede7d9e4527a3d93774b2.tar.bz2 samba-e2166a9feee8f05a6a6ede7d9e4527a3d93774b2.zip |
r19851: Disable gcc PIE options on Darwin.
(This used to be commit 23795be8b429d4423263e60ce80f454e2e42cae7)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 5 |
1 files changed, 5 insertions, 0 deletions
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) ;; |