Try to use -fvisibility=hidden when DISABLE_DYNLOADING
Change-Id: I92a5de2344e82f99ac94608e1455afa8c33bd54a
This commit is contained in:
committed by
Tor Lillqvist
parent
b6c016da23
commit
f83cf4e4c0
@@ -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
|
|||||||
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=
|
|||||||
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
|
||||||
|
Reference in New Issue
Block a user