summaryrefslogtreecommitdiffstats
path: root/net/asterisk14/files/patch-codecs::lpc10::Makefile
blob: 43138eb093d91e1e816167702a850f6227abba0a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29

$FreeBSD$

--- codecs/lpc10/Makefile.orig	Sun Apr 27 21:13:11 2003
+++ codecs/lpc10/Makefile	Fri Oct 17 12:07:20 2003
@@ -3,7 +3,7 @@
 # 
 
 # default C compiler
-CC= gcc
+CC?= gcc
 
 # 
 # These definitions for CFLAGS and LIB_TARGET_DIR are used when one
@@ -22,12 +22,12 @@
 # 
 
 WARNINGS = -Wall -Wno-comment -Wno-error
-CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
+CFLAGS += $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
 #CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
 
 #fix for PPC processors
 ifneq ($(PROC),ppc)
-	CFLAGS+= -march=$(PROC)
+	CFLAGS+= 
 endif
 
 LIB = $(LIB_TARGET_DIR)/liblpc10.a
OpenPOWER on IntegriCloud