aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/cyassl/patches/100-respect_cflags.patch
diff options
context:
space:
mode:
authorImre Kaloz <kaloz@openwrt.org>2013-12-20 20:25:44 +0000
committerImre Kaloz <kaloz@openwrt.org>2013-12-20 20:25:44 +0000
commit72f00c8de440ac3bf3c373c107e7555182f9fafb (patch)
tree662574d976283456f538103550874cb89118599a /package/libs/cyassl/patches/100-respect_cflags.patch
parent41cbd0a3895faa6f2462f302730cdae8e0779adb (diff)
downloadupstream-72f00c8de440ac3bf3c373c107e7555182f9fafb.tar.gz
upstream-72f00c8de440ac3bf3c373c107e7555182f9fafb.tar.bz2
upstream-72f00c8de440ac3bf3c373c107e7555182f9fafb.zip
change fixup method and fix CFLAGS handling
Signed-off-by: Imre Kaloz <kaloz@openwrt.org> SVN-Revision: 39151
Diffstat (limited to 'package/libs/cyassl/patches/100-respect_cflags.patch')
-rw-r--r--package/libs/cyassl/patches/100-respect_cflags.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/libs/cyassl/patches/100-respect_cflags.patch b/package/libs/cyassl/patches/100-respect_cflags.patch
new file mode 100644
index 0000000000..db6c3ab723
--- /dev/null
+++ b/package/libs/cyassl/patches/100-respect_cflags.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -42,7 +42,7 @@ AC_SUBST([CYASSL_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])