summaryrefslogtreecommitdiff
path: root/redland/raptor
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-11-19 12:21:12 +0200
committerTor Lillqvist <tlillqvist@suse.com>2012-11-19 12:26:45 +0200
commitf83cf4e4c093012f966656e416b5ed5a44c75155 (patch)
tree2afceb44ad56b82c73c066cff541eb7658f9dd85 /redland/raptor
parentb6c016da23d309b4ac7d154bc33a22397974ed73 (diff)
Try to use -fvisibility=hidden when DISABLE_DYNLOADING
Change-Id: I92a5de2344e82f99ac94608e1455afa8c33bd54a
Diffstat (limited to 'redland/raptor')
-rw-r--r--redland/raptor/makefile.mk5
1 files changed, 5 insertions, 0 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