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