--- a/configure.ac
+++ b/configure.ac
@@ -38,9 +38,6 @@
 AC_PROG_CC
 AC_PROG_AWK
 
-# Delete -g as we handle debug info at build time
-CFLAGS=`echo "$CFLAGS" | sed 's/\(^\| \+\)-g[[0-9]]*//' 2>/dev/null`
-
 # Helper to check by pkgconfig including local paths
 function pkgconfig_check()
 {
