summaryrefslogtreecommitdiff
path: root/net/asterisk14/files/patch-Makefile.rules
blob: f90430ec9ddd8e46aab7bfe2f09d091cd35c417a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- 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)),)
     _ASTCFLAGS+=$(OPTIMIZE)
 else
     _ASTCFLAGS+=-O0
 endif
+endif
 
 # shortcuts for common combinations of flags; these must be recursively expanded so that
 # per-target settings will be applied