diff options
author | Kalev Lember <kalev@smartlink.ee> | 2008-10-18 22:18:58 +0300 |
---|---|---|
committer | Kalev Lember <kalev@smartlink.ee> | 2008-10-18 23:38:17 +0300 |
commit | e134e48af4d7a72dac1ca181aec93311c9772534 (patch) | |
tree | da741babc29887ac15322a240903ea0bb7482f02 /packages/gdb/gdb.inc | |
parent | f5908addf3671abab19e1e43763b3b0ca60a451b (diff) |
gdb: fix compile if ${TARGET_LINK_HASH_STYLE} is not set
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 } |