summaryrefslogtreecommitdiff
path: root/net/asterisk-bristuff/files/patch-Makefile.rules
blob: 4eea03fa0c3496152d1c6dc8b4f354909256225c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$FreeBSD: /tmp/pcvs/ports/net/asterisk-bristuff/files/Attic/patch-Makefile.rules,v 1.1 2009-09-16 19:33:37 fjoe Exp $

--- 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] $< -> $@"