From e8576ef9f4186cba489b2a8f150b23002ac3afa2 Mon Sep 17 00:00:00 2001 From: Björn Jacke Date: Fri, 4 Jun 2010 00:55:10 +0200 Subject: ѕ3:Makefile: use PIC instead of PIE flags for shared libs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit otherwise shared lib builds are broken on some platforms --- source3/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') 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@ -- cgit