summaryrefslogtreecommitdiffstats
path: root/packaging/docker/gen-cflags.sh
blob: 3a80b7358258185b18c20e9f1d86fbf38cb842a7 (plain)
1
2
3
4
5
6
7
8
9
#!/bin/sh

if [ -n "${CFLAGS}" ]; then
    echo "${CFLAGS}"
elif [ -n "${DEBUG_BUILD}" ]; then
    echo "-Og -ggdb -pipe"
else
    echo "-O2 -pipe"
fi