e2151368a9
git-svn-id: svn://svn.openwrt.org/openwrt/packages@15938 3c298f89-4303-0410-b956-a3cf2f4a3e73
34 lines
865 B
Diff
34 lines
865 B
Diff
diff -pruN axTLS.orig/config/makefile.conf axTLS/config/makefile.conf
|
|
--- axTLS.orig/config/makefile.conf 2009-05-20 15:27:07.425684975 +0200
|
|
+++ axTLS/config/makefile.conf 2009-05-20 15:29:51.697489368 +0200
|
|
@@ -105,20 +105,23 @@ endif
|
|
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'
|
|
|