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 ...@@ -129,6 +129,11 @@ CFLAGS:=-g
.ELSE .ELSE
CFLAGS:=-O CFLAGS:=-O
.ENDIF .ENDIF
.IF "$(DISABLE_DYNLOADING)"=="TRUE"
CFLAGS+=-fvisibility=hidden
.ENDIF
.IF "$(COM)"=="C52" && "$(CPU)"=="U" .IF "$(COM)"=="C52" && "$(CPU)"=="U"
CFLAGS+=-m64 CFLAGS+=-m64
.ENDIF .ENDIF
......
...@@ -104,8 +104,12 @@ LDFLAGS:=-Wl,-z,origin -Wl,-rpath,'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib' -Wl,-n ...@@ -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' LDFLAGS:=-Wl,-R'$$$$ORIGIN:$$$$ORIGIN/../ure-link/lib'
.ENDIF # "$(OS)$(COM)"=="SOLARISC52" .ENDIF # "$(OS)$(COM)"=="SOLARISC52"
.IF "$(DISABLE_DYNLOADING)"=="TRUE"
CFLAGS=-fvisibility=hidden
.ENDIF
.IF "$(COM)"=="C52" && "$(CPU)"=="U" .IF "$(COM)"=="C52" && "$(CPU)"=="U"
CFLAGS=-m64 CFLAGS+=-m64
.EXPORT: CFLAGS .EXPORT: CFLAGS
.ENDIF .ENDIF
......
...@@ -145,6 +145,7 @@ CONFIGURE_DIR= ...@@ -145,6 +145,7 @@ CONFIGURE_DIR=
CONFIGURE_ACTION=.$/configure PATH="..$/..$/..$/bin:$$PATH" 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 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" .IF "$(OS)"=="IOS" || "$(OS)"=="ANDROID"
CFLAGS=-fvisibility=hidden
CONFIGURE_FLAGS+= --disable-shared CONFIGURE_FLAGS+= --disable-shared
.ELSE .ELSE
CONFIGURE_FLAGS+= --disable-static 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