diff options
author | Björn Jacke <bj@sernet.de> | 2010-06-04 00:55:10 +0200 |
---|---|---|
committer | Björn Jacke <bj@sernet.de> | 2010-06-04 00:57:38 +0200 |
commit | e8576ef9f4186cba489b2a8f150b23002ac3afa2 (patch) | |
tree | 52a5c152ce7782e576effcb7195bcc31862220c1 /source3 | |
parent | a73b84680244f838854f3bf3bb112464da89b9ba (diff) | |
download | samba-e8576ef9f4186cba489b2a8f150b23002ac3afa2.tar.gz samba-e8576ef9f4186cba489b2a8f150b23002ac3afa2.tar.bz2 samba-e8576ef9f4186cba489b2a8f150b23002ac3afa2.zip |
ѕ3:Makefile: use PIC instead of PIE flags for shared libs
otherwise shared lib builds are broken on some platforms
Diffstat (limited to 'source3')
-rw-r--r-- | source3/Makefile.in | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index 89f7073497..82407e5be0 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -43,16 +43,16 @@ DEVELOPER_CFLAGS=@DEVELOPER_CFLAGS@ CFLAGS=@CFLAGS@ CPP=@CPP@ CPPFLAGS=-DHAVE_CONFIG_H @CPPFLAGS@ +PICFLAG=@PICFLAG@ EXEEXT=@EXEEXT@ AR=@AR@ -LDSHFLAGS=@PIE_LDFLAGS@ @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ -lc @LDSHFLAGS_Z_DEFS@ -LDSHFLAGS_MODULES=@PIE_LDFLAGS@ @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@ +LDSHFLAGS=$(PICFLAG) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ -lc @LDSHFLAGS_Z_DEFS@ +LDSHFLAGS_MODULES=$(PICFLAG) @LDSHFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ @LDSHFLAGS_Z_NODEFS@ LDFLAGS=@PIE_LDFLAGS@ @RELRO_LDFLAGS@ @LDFLAGS@ -WINBIND_NSS_LDSHFLAGS=@PIE_LDFLAGS@ @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@ -lc @LDSHFLAGS_Z_DEFS@ +WINBIND_NSS_LDSHFLAGS=$(PICFLAG) @WINBIND_NSS_LDSHFLAGS@ @LDFLAGS@ -lc @LDSHFLAGS_Z_DEFS@ AWK=@AWK@ -PICFLAG=@PICFLAG@ DYNEXP=@DYNEXP@ PERL=@PERL@ LIBDL=@LIBDL@ |