diff options
Diffstat (limited to 'packages/gdb/gdb.inc')
-rw-r--r-- | packages/gdb/gdb.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/packages/gdb/gdb.inc b/packages/gdb/gdb.inc index 8e7121bd49..77a9ca6a3e 100644 --- a/packages/gdb/gdb.inc +++ b/packages/gdb/gdb.inc @@ -29,6 +29,11 @@ do_configure () { # override this function to avoid the autoconf/automake/aclocal/autoheader # calls for now (cd ${S} && gnu-configize) || die "failure in running gnu-configize" + + # Remove duplicate spaces to work around configure complaining about + # changed LDFLAGS. + LDFLAGS=$(echo "${LDFLAGS}" | sed "s/ / /") + CPPFLAGS="" oe_runconf } |