aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-03-21 16:39:55 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-03-21 17:05:34 +0100
commit197535dae982e8126cc1fe93a361ad02b4f13f48 (patch)
tree5c1985e57f924bca136678767d4b4dfeb24c3013
parent37b2580b9f1153c140ab684825442fec0c7840ef (diff)
downloadvis-197535dae982e8126cc1fe93a361ad02b4f13f48.tar.gz
vis-197535dae982e8126cc1fe93a361ad02b4f13f48.tar.xz
configure: probe for size optimizing flags (disabled for now)
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index d55588f..4769121 100755
--- a/configure
+++ b/configure
@@ -213,6 +213,9 @@ tryflag CFLAGS_AUTO -pipe
# Try flags to optimize binary size
tryflag CFLAGS_AUTO -Os
+#tryflag CFLAGS_AUTO -ffunction-sections
+#tryflag CFLAGS_AUTO -fdata-sections
+#tryldflag LDFLAGS_AUTO -Wl,--gc-sections
have_pkgconfig=no
printf "checking for pkg-config... "