summaryrefslogtreecommitdiff
path: root/configs
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-06-08 11:47:00 -0700
committerJeremy Huddleston <jeremyhu@apple.com>2011-06-08 11:47:00 -0700
commit1b90d7d36bba4ca24099cd4c0d1cc3d8ac7ae415 (patch)
treeffef7460e2f2b57a97b8c013c41fc2c5f0b9c930 /configs
parent2835c5112de59a0713fe1c78efbe77ea855a3eed (diff)
darwin: Use -fvisibility=hidden to set default symbol visibility
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'configs')
-rw-r--r--configs/darwin4
1 files changed, 2 insertions, 2 deletions
diff --git a/configs/darwin b/configs/darwin
index 9d3bbcf985c..9527f61bd86 100644
--- a/configs/darwin
+++ b/configs/darwin
@@ -25,9 +25,9 @@ DEFINES = -D_DARWIN_C_SOURCE -DPTHREADS -D_GNU_SOURCE \
ARCH_FLAGS += $(RC_CFLAGS)
-CFLAGS = -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing \
+CFLAGS = -ggdb3 -Os -Wall -Wmissing-prototypes -std=c99 -ffast-math -fno-strict-aliasing -fvisibility=hidden \
-I$(INSTALL_DIR)/include -I$(X11_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
-CXXFLAGS = -ggdb3 -Os -Wall -fno-strict-aliasing \
+CXXFLAGS = -ggdb3 -Os -Wall -fno-strict-aliasing -fvisibility=hidden \
-I$(INSTALL_DIR)/include -I$(X11_DIR)/include $(OPT_FLAGS) $(PIC_FLAGS) $(ARCH_FLAGS) $(ASM_FLAGS) $(DEFINES)
# Library names (actual file names)