aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/validate-abi.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/validate-abi.sh')
-rwxr-xr-xscripts/validate-abi.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/validate-abi.sh b/scripts/validate-abi.sh
index feda6c86..52e4e7ae 100755
--- a/scripts/validate-abi.sh
+++ b/scripts/validate-abi.sh
@@ -186,7 +186,7 @@ fixup_config
# Checking abi compliance relies on using the dwarf information in
# The shared objects. Thats only included in the DSO's if we build
# with -g
-export EXTRA_CFLAGS="$EXTRA_CFLAGS -g"
+export EXTRA_CFLAGS="$EXTRA_CFLAGS -g -O0"
export EXTRA_LDFLAGS="$EXTRA_LDFLAGS -g"
# Now configure the build