aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-25 20:11:36 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-25 20:11:36 +0100
commitb44f174cccd4cd2b1b975f2767335ce636ee273b (patch)
tree1af59a7f610bf1553103d68eb25bf10cd934aab9
parent2f498cab6e195ab9f5e2321cffe48894560c9c38 (diff)
downloadvis-b44f174cccd4cd2b1b975f2767335ce636ee273b.tar.gz
vis-b44f174cccd4cd2b1b975f2767335ce636ee273b.tar.xz
build: try to enable compiler flags to minimize binary size
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index cefcc7b..2c689db 100755
--- a/configure
+++ b/configure
@@ -229,9 +229,9 @@ tryflag CFLAGS -pipe
# Try flags to optimize binary size
tryflag CFLAGS -Os
-#tryflag CFLAGS -ffunction-sections
-#tryflag CFLAGS -fdata-sections
-#tryldflag LDFLAGS_AUTO -Wl,--gc-sections
+tryflag CFLAGS -ffunction-sections
+tryflag CFLAGS -fdata-sections
+tryldflag LDFLAGS_AUTO -Wl,--gc-sections
# Try hardening flags
tryflag CFLAGS -fPIE