summaryrefslogtreecommitdiff
path: root/net/asterisk10/files/patch-Makefile.rules
blob: d129d9784b3c6654f81ca442869698a6ecffb52b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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] $< -> $@"