Description: Fix hardening
 Fix hardening complaints from blhc.
Author: Andreas B. Mundt <andi@debian.org>
Forwarded: no
Last-Update: 2022-08-13
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/configure.ac
+++ b/configure.ac
@@ -88,7 +88,7 @@
     PKG_CHECK_MODULES([LIBUSB10], [ libusb-1.0 >= 1.0.0 ],
       [HAVE_LIBUSB10=yes
        LIBS="$LIBUSB10_LIBS"
-       CFLAGS="$LIBUSB10_CFLAGS"
+       CFLAGS="$LIBUSB10_CFLAGS $CFLAGS"
        AC_TRY_LINK([#include <libusb.h>], [  const char *s = libusb_strerror(0)],
                     [AC_DEFINE([HAVE_LIBUSB10_STRERROR], [1], [libusb 1.0.x has libusb_strerror])],
                     [AC_ERROR([Use a version of libusb which provides libusb_strerror])])
