summaryrefslogtreecommitdiffstats
path: root/openwrt/package/axtls/patches/001-opt_flags.patch
diff options
context:
space:
mode:
authornico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-18 22:15:21 +0000
committernico <nico@3c298f89-4303-0410-b956-a3cf2f4a3e73>2006-05-18 22:15:21 +0000
commit63ef5186e1394b3096c1c1c0c0488d7aaa13b6ff (patch)
tree0314aca7b3553675a8386ff132bb175fbeabd0c1 /openwrt/package/axtls/patches/001-opt_flags.patch
parent59e10adc2d35e497529f191fc60428591cfd6265 (diff)
add axtls embedded ssl/tls library.
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@3795 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'openwrt/package/axtls/patches/001-opt_flags.patch')
-rw-r--r--openwrt/package/axtls/patches/001-opt_flags.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/openwrt/package/axtls/patches/001-opt_flags.patch b/openwrt/package/axtls/patches/001-opt_flags.patch
new file mode 100644
index 000000000..a27b3a449
--- /dev/null
+++ b/openwrt/package/axtls/patches/001-opt_flags.patch
@@ -0,0 +1,33 @@
+diff -ruN axTLS-0.95-old/config/makefile.conf axTLS-0.95-new/config/makefile.conf
+--- axTLS-0.95-old/config/makefile.conf 2006-02-28 02:50:28.000000000 +0100
++++ axTLS-0.95-new/config/makefile.conf 2006-05-18 22:24:02.000000000 +0200
+@@ -87,20 +87,23 @@
+ endif
+
+ ifdef CONFIG_DEBUG
+-CFLAGS += -g
++OPT_CFLAGS = -g
+ else
+-LDFLAGS += -s
++OPT_LDFLAGS = -s
+ ifdef CONFIG_PLATFORM_SOLARIS
+-CFLAGS += -O
++OPT_CFLAGS = -O
+ else
+-CFLAGS += -O3
++OPT_CFLAGS = -O3
+ endif
+
+ endif # CONFIG_DEBUG
+ endif # WIN32
+
+-CFLAGS+=$(subst ",, $(strip $(CONFIG_EXTRA_CFLAGS_OPTIONS)))
+-LDFLAGS+=$(subst ",, $(strip $(CONFIG_EXTRA_LDFLAGS_OPTIONS)))
++EXTRA_CFLAGS=$(subst ",, $(strip $(CONFIG_EXTRA_CFLAGS_OPTIONS)))
++EXTRA_LDFLAGS=$(subst ",, $(strip $(CONFIG_EXTRA_LDFLAGS_OPTIONS)))
++
++CFLAGS += $(OPT_CFLAGS) $(EXTRA_CFLAGS)
++LDFLAGS += $(OPT_LDFLAGS) $(EXTRA_LDFLAGS)
+
+ endif # not 'clean'
+