summaryrefslogtreecommitdiffstats
path: root/packaging/docker/gen-cflags.sh
diff options
context:
space:
mode:
Diffstat (limited to 'packaging/docker/gen-cflags.sh')
-rwxr-xr-xpackaging/docker/gen-cflags.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/docker/gen-cflags.sh b/packaging/docker/gen-cflags.sh
index 3a80b7358..f5ccab8a4 100755
--- a/packaging/docker/gen-cflags.sh
+++ b/packaging/docker/gen-cflags.sh
@@ -3,7 +3,7 @@
if [ -n "${CFLAGS}" ]; then
echo "${CFLAGS}"
elif [ -n "${DEBUG_BUILD}" ]; then
- echo "-Og -ggdb -pipe"
+ echo "-ffunction-sections -fdata-sections -Og -ggdb -pipe"
else
- echo "-O2 -pipe"
+ echo "-ffunction-sections -fdata-sections -O2 -funroll-loops -pipe"
fi