0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-15 10:04:15 +00:00
netdata_netdata/packaging/docker/gen-cflags.sh
Austin S. Hemmelgarn 70f19efb7d
Add additional Docker image build with debug info included. ()
* Add additional Docker image build with debug info included.

* Assorted fixes.

* Update packaging/docker/gen-cflags.sh

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>

Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
2022-07-13 07:17:37 -04:00

9 lines
151 B
Bash
Executable file

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