summaryrefslogtreecommitdiff
path: root/net/asterisk/files/patch-Makefile.rules
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2010-03-21 05:36:40 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2010-03-21 05:36:40 +0000
commitbe04bdd6bfcb0f121122d209c082b37d5cda1c55 (patch)
tree04f4b3259e044090460dfbd25ea0ab62a403c5b9 /net/asterisk/files/patch-Makefile.rules
parent- Update to 1.0.15 (diff)
Update to 1.4.29.
Notes
Notes: svn path=/head/; revision=251329
Diffstat (limited to 'net/asterisk/files/patch-Makefile.rules')
-rw-r--r--net/asterisk/files/patch-Makefile.rules25
1 files changed, 10 insertions, 15 deletions
diff --git a/net/asterisk/files/patch-Makefile.rules b/net/asterisk/files/patch-Makefile.rules
index d129d9784b3c..f90430ec9ddd 100644
--- a/net/asterisk/files/patch-Makefile.rules
+++ b/net/asterisk/files/patch-Makefile.rules
@@ -1,21 +1,16 @@
-
-$FreeBSD$
-
---- Makefile.rules
-+++ Makefile.rules
-@@ -27,6 +27,7 @@
- CMD_PREFIX=
- endif
+--- Makefile.rules.orig 2009-09-28 22:09:25.000000000 +0300
++++ Makefile.rules 2009-11-23 16:15:23.000000000 +0200
+@@ -37,11 +37,13 @@
+
+ OPTIMIZE?=-O6
+ifneq ($(OSARCH),FreeBSD)
ifeq ($(findstring DONT_OPTIMIZE,$(MENUSELECT_CFLAGS)),)
- # More GSM codec optimization
- # Uncomment to enable MMXTM optimizations for x86 architecture CPU's
-@@ -37,6 +38,7 @@
- OPTIMIZE?=-O6
- ASTCFLAGS+=$(OPTIMIZE)
+ _ASTCFLAGS+=$(OPTIMIZE)
+ else
+ _ASTCFLAGS+=-O0
endif
+endif
- %.o: %.c
- $(ECHO_PREFIX) echo " [CC] $< -> $@"
+ # shortcuts for common combinations of flags; these must be recursively expanded so that
+ # per-target settings will be applied