100-respect_cflags.patch 345 B

1234567891011
  1. --- a/configure.ac
  2. +++ b/configure.ac
  3. @@ -47,7 +47,7 @@ AC_SUBST([WOLFSSL_LIBRARY_VERSION])
  4. # capture user C_EXTRA_FLAGS from ./configure line, CFLAGS may hold -g -O2 even
  5. # if user doesn't override, no way to tell
  6. -USER_C_EXTRA_FLAGS="$C_EXTRA_FLAGS"
  7. +USER_C_EXTRA_FLAGS="$CFLAGS"
  8. LT_PREREQ([2.2])
  9. LT_INIT([disable-static],[win32-dll])