mirror of
https://github.com/FRRouting/frr.git
synced 2025-04-30 13:37:17 +02:00
build: stick -g
into LDFLAGS
Without `-g` in LDFLAGS we won't get debug info even if it's enabled in CFLAGS. Since we're controlling debug info through CFLAGS, there's no harm in always having `-g` in LDFLAGS. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
This commit is contained in:
parent
f979f3fd21
commit
baad07c59d
|
@ -325,6 +325,9 @@ else
|
|||
fi
|
||||
fi
|
||||
|
||||
dnl just stick -g into LDFLAGS, if we don't have it in CFLAGS it won't do much
|
||||
LDFLAGS="$LDFLAGS -g"
|
||||
|
||||
AM_CONDITIONAL([DEV_BUILD], [test "$enable_dev_build" = "yes"])
|
||||
|
||||
dnl always want these CFLAGS
|
||||
|
|
Loading…
Reference in a new issue