summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-09 20:02:51 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-10-09 20:02:51 (GMT)
commit839ee761878b3e242f4fe4b4a95dfbf161b6b82a (patch)
treebbd53063c319b35b42841fe37e1a8ffb7900ab7b
parent3a7149347c6290e1ab7045dd4f70e06d9426b716 (diff)
downloadbuildroot-839ee761878b3e242f4fe4b4a95dfbf161b6b82a.tar.gz
buildroot-839ee761878b3e242f4fe4b4a95dfbf161b6b82a.tar.bz2
openocd: libusb patch: append rather than override LDFLAGS
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch b/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch
index 99ff04e..caf1a8b 100644
--- a/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch
+++ b/package/openocd/openocd-0001-fix-cross-compilation-host-libsub-was-used-before.patch
@@ -23,7 +23,7 @@ index dfa1e8f..cfe2218 100644
+ dnl check for libusb
+ PKG_CHECK_MODULES(LIBUSB, libusb >= 0.1.11)
+ CFLAGS="$CFLAGS $LIBUSB_CFLAGS"
-+ LDFLAGS="$LFFLAGS $LIBUSB_LDFLAGS"
++ LDFLAGS="$LDFLAGS $LIBUSB_LDFLAGS"
+ LIBS="$LIBS $LIBUSB_LIBS"
build_usb=yes
fi