diff options
author | Tor Lillqvist <tml@iki.fi> | 2012-11-19 12:21:12 +0200 |
---|---|---|
committer | Tor Lillqvist <tlillqvist@suse.com> | 2012-11-19 12:26:45 +0200 |
commit | f83cf4e4c093012f966656e416b5ed5a44c75155 (patch) | |
tree | 2afceb44ad56b82c73c066cff541eb7658f9dd85 /redland | |
parent | b6c016da23d309b4ac7d154bc33a22397974ed73 (diff) |
Try to use -fvisibility=hidden when DISABLE_DYNLOADING
Change-Id: I92a5de2344e82f99ac94608e1455afa8c33bd54a
Diffstat (limited to 'redland')
-rw-r--r-- | redland/raptor/makefile.mk | 5 | ||||
-rw-r--r-- | redland/rasqal/makefile.mk | 6 | ||||
-rw-r--r-- | redland/redland/makefile.mk | 1 |
3 files changed, 11 insertions, 1 deletions
diff --git a/redland/raptor/makefile.mk b/redland/raptor/makefile.mk index fa759f5956e8..8244d0d2b282 100644 --- a/redland/raptor/makefile.mk +++ b/redland/raptor/makefile.mk @@ -129,6 +129,11 @@ CFLAGS:=-g .ELSE CFLAGS:=-O .ENDIF + +.IF "$(DISABLE_DYNLOADING)"=="TRUE" +CFLAGS+=-fvisibility=hidden +.ENDIF + .IF "$(COM)"=="C52" && "$(CPU)"=="U" CFLAGS+=-m64 .ENDIF diff --git a/redland/rasqal/makefile.mk b/redland/rasqal/makefile.mk index 9911e2f16424..d10239b3b68c 100644 --- a/redland/rasqal/makefile.mk +++ b/redland/rasqal/makefile.mk @@ -104,8 +104,12 @@ LDFLAGS:=-Wl,-z,origin -Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-n LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' .ENDIF # "$(OS)$(COM)"=="SOLARISC52" +.IF "$(DISABLE_DYNLOADING)"=="TRUE" +CFLAGS=-fvisibility=hidden +.ENDIF + .IF "$(COM)"=="C52" && "$(CPU)"=="U" -CFLAGS=-m64 +CFLAGS+=-m64 .EXPORT: CFLAGS .ENDIF diff --git a/redland/redland/makefile.mk b/redland/redland/makefile.mk index 1fe3d6d6d987..6459f6ba083d 100644 --- a/redland/redland/makefile.mk +++ b/redland/redland/makefile.mk @@ -145,6 +145,7 @@ CONFIGURE_DIR= CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH" CONFIGURE_FLAGS=--disable-gtk-doc --with-openssl-digests --with-xml-parser=libxml --with-raptor=system --with-rasqual=system --without-bdb --without-sqlite --without-mysql --without-postgresql --without-threestore --with-regex-library=posix --with-decimal=none --with-www=xml .IF "$(OS)"=="IOS" || "$(OS)"=="ANDROID" +CFLAGS=-fvisibility=hidden CONFIGURE_FLAGS+= --disable-shared .ELSE CONFIGURE_FLAGS+= --disable-static |