mirror of
https://github.com/netdata/netdata.git
synced 2025-04-14 17:48:37 +00:00

* 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>
9 lines
151 B
Bash
Executable file
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
|