From 3d01453d91700cfffaefd2341649d4708fd0009c Mon Sep 17 00:00:00 2001 From: Domenico Iezzi Date: Wed, 16 Oct 2024 10:21:33 +0200 Subject: [PATCH] Try gdwarf-3 compile flags --- build-toolchain | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build-toolchain b/build-toolchain index 635f54f..af3e0c6 100755 --- a/build-toolchain +++ b/build-toolchain @@ -12,8 +12,8 @@ PARALLEL_JOBS=$(nproc) export PATH="$INSTALL_FOLDER/bin:$PATH" # set default build flags if not available in env -CFLAGS="${CFLAGS:--O2}" -CXXFLAGS="${CXXFLAGS:--O2}" +CFLAGS="${CFLAGS:--O2 -gdwarf-3}" +CXXFLAGS="${CXXFLAGS:--O2 -gdwarf-3}" LDFLAGS="${LDFLAGS:--static -s}" print_usage() {