From: Luigi Rizzo Date: Thu, 23 Mar 2006 13:39:36 +0000 (+0000) Subject: remove duplicate CFLAGS and SOLINK definitions that are X-Git-Tag: 1.4.0-beta1~2354 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=408a6e25e41d82882013cf8a4300b8ee683299ca;p=thirdparty%2Fasterisk.git remove duplicate CFLAGS and SOLINK definitions that are already in the top level Makefile git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14351 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/agi/Makefile b/agi/Makefile index e245877207..bcb7e87fc8 100644 --- a/agi/Makefile +++ b/agi/Makefile @@ -20,10 +20,6 @@ ifeq ($(OSARCH),SunOS) LIBS=-lsocket -lnsl ../strcompat.o endif -ifeq ($(findstring BSD,${OSARCH}),BSD) - CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include -L$(CROSS_COMPILE_TARGET)/usr/local/lib -endif - all: depend $(AGIS) install: all diff --git a/cdr/Makefile b/cdr/Makefile index e11cfb9b63..30284ce570 100644 --- a/cdr/Makefile +++ b/cdr/Makefile @@ -37,11 +37,6 @@ else CFLAGS+=-fPIC endif -ifeq ($(findstring BSD,${OSARCH}),BSD) - CFLAGS+=-I$(CROSS_COMPILE_TARGET)/usr/local/include - SOLINK+=-L$(CROSS_COMPILE_TARGET)/usr/local/lib -endif - #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only. #This works for even old (2.96) versions of gcc and provides a small boost either way. #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn.t support it.