summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 753adc5096..562921a958 100644
--- a/configure.ac
+++ b/configure.ac
@@ -86,7 +86,12 @@ CC_CHECK_CFLAGS_APPEND([ \
-ffast-math \
-fno-common \
-fdiagnostics-show-option \
- -fno-strict-aliasing])
+ -fno-strict-aliasing \
+ -fvisibility=hidden \
+ -ffunction-sections \
+ -fdata-sections \
+ -Wl,--as-needed \
+ -Wl,--gc-sections])
LT_PREREQ(2.2)
LT_INIT