diff -r 87dfadd61e0d configure --- a/configure Thu Feb 04 01:24:56 2016 -0500 +++ b/configure Thu Feb 04 17:02:29 2016 +0200 @@ -6691,11 +6691,11 @@ OPT="-g -O0 -Wall $STRICT_PROTO" fi else - OPT="-g $WRAP -O3 -Wall $STRICT_PROTO" + OPT="-g $WRAP -O3 -Wall $STRICT_PROTO -fdata-sections -ffunction-sections -Wl,--gc-sections" fi ;; *) - OPT="-O3 -Wall $STRICT_PROTO" + OPT="-O3 -Wall $STRICT_PROTO -fdata-sections -ffunction-sections -Wl,--gc-sections" ;; esac case $ac_sys_system in diff -r 87dfadd61e0d configure.ac --- a/configure.ac Thu Feb 04 01:24:56 2016 -0500 +++ b/configure.ac Thu Feb 04 17:02:29 2016 +0200 @@ -1329,11 +1329,11 @@ OPT="-g -O0 -Wall $STRICT_PROTO" fi else - OPT="-g $WRAP -O3 -Wall $STRICT_PROTO" + OPT="-g $WRAP -O3 -Wall $STRICT_PROTO -fdata-sections -ffunction-sections -Wl,--gc-sections" fi ;; *) - OPT="-O3 -Wall $STRICT_PROTO" + OPT="-O3 -Wall $STRICT_PROTO -fdata-sections -ffunction-sections -Wl,--gc-sections" ;; esac case $ac_sys_system in