[Buildroot] [git commit] openocd: libusb patch: append rather than override LDFLAGS

Peter Korsgaard jacmet at sunsite.dk
Sun Oct 9 20:02:51 UTC 2011


commit: http://git.buildroot.net/buildroot/commit/?id=839ee761878b3e242f4fe4b4a95dfbf161b6b82a
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Signed-off-by: Peter Korsgaard <jacmet at sunsite.dk>
---
 ...s-compilation-host-libsub-was-used-before.patch |    2 +-
 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


More information about the buildroot mailing list