Kaydet (Commit) f83cf4e4 authored tarafından Tor Lillqvist's avatar Tor Lillqvist Kaydeden (comit) Tor Lillqvist

Try to use -fvisibility=hidden when DISABLE_DYNLOADING

Change-Id: I92a5de2344e82f99ac94608e1455afa8c33bd54a
üst b6c016da
......@@ -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
......
......@@ -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
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment