aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/cyassl/patches/100-respect_cflags.patch
blob: 94117aec9957bae9a55d292d780d51b559e8b953 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/configure.ac
+++ b/configure.ac
@@ -47,7 +47,7 @@ AC_SUBST([WOLFSSL_LIBRARY_VERSION])
 
 # capture user C_EXTRA_FLAGS from ./configure line, CFLAGS may hold -g -O2 even
 # if user doesn't override, no way to tell
-USER_C_EXTRA_FLAGS="$C_EXTRA_FLAGS"
+USER_C_EXTRA_FLAGS="$CFLAGS"
 
 LT_PREREQ([2.2])
 LT_INIT([disable-static],[win32-dll])