summaryrefslogtreecommitdiff
path: root/package/polarssl/patches/patch-programs_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/polarssl/patches/patch-programs_Makefile')
-rw-r--r--package/polarssl/patches/patch-programs_Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/package/polarssl/patches/patch-programs_Makefile b/package/polarssl/patches/patch-programs_Makefile
new file mode 100644
index 000000000..e319dce1f
--- /dev/null
+++ b/package/polarssl/patches/patch-programs_Makefile
@@ -0,0 +1,20 @@
+--- polarssl-1.2.8.orig/programs/Makefile 2013-06-21 15:11:10.000000000 +0200
++++ polarssl-1.2.8/programs/Makefile 2013-08-15 16:18:39.387085302 +0200
+@@ -4,7 +4,7 @@
+ # To compile with PKCS11: add "-lpkcs11-helper" to LDFLAGS
+
+ CFLAGS += -I../include -D_FILE_OFFSET_BITS=64 -Wall -W -Wdeclaration-after-statement
+-OFLAGS = -O2
++#OFLAGS = -O2
+ LDFLAGS += -L../library -lpolarssl $(SYS_LDFLAGS)
+
+ ifdef DEBUG
+@@ -46,8 +46,6 @@ ifdef OPENSSL
+ APPS += test/o_p_test
+ endif
+
+-.SILENT:
+-
+ all: $(APPS)
+
+ aes/aescrypt2: aes/aescrypt2.c ../library/libpolarssl.a