diff options
Diffstat (limited to 'net/asterisk14/files/patch-Makefile.rules')
-rw-r--r-- | net/asterisk14/files/patch-Makefile.rules | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/net/asterisk14/files/patch-Makefile.rules b/net/asterisk14/files/patch-Makefile.rules new file mode 100644 index 000000000000..d129d9784b3c --- /dev/null +++ b/net/asterisk14/files/patch-Makefile.rules @@ -0,0 +1,21 @@ + +$FreeBSD$ + +--- Makefile.rules ++++ Makefile.rules +@@ -27,6 +27,7 @@ + CMD_PREFIX= + endif + ++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) + endif ++endif + + %.o: %.c + $(ECHO_PREFIX) echo " [CC] $< -> $@" |