Skip to content

Commit 91e5624

Browse files
committed
Only use -g1 for --enable-stacktraces
-g3 seems to produce too large binaries, overloading the linker.
1 parent f50923c commit 91e5624

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -222,11 +222,11 @@ elif test "x$enable_stacktraces" = xyes; then
222222
# Enable debug information but don't turn off optimization
223223
# (stacktraces will be suboptimal, but better than nothing)
224224
if test "x$GCC" = xyes; then
225-
CFLAGS="$CFLAGS -g3 -fno-omit-frame-pointer"
225+
CFLAGS="$CFLAGS -g1 -fno-omit-frame-pointer"
226226
fi
227227

228228
if test "x$GXX" = xyes; then
229-
CXXFLAGS="$CXXFLAGS -g3 -fno-omit-frame-pointer"
229+
CXXFLAGS="$CXXFLAGS -g1 -fno-omit-frame-pointer"
230230
fi
231231
fi
232232

0 commit comments

Comments
 (0)