diff --git a/agi/Makefile b/agi/Makefile index e245877207654e874b538aac493e6be86defda4f..bcb7e87fc8115a7f2413af4f61f078896af8a136 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 e11cfb9b63898a98b1a81ee3b90e34bd4e4b830c..30284ce570e2b1069191da4ddb3cec5a4438dd70 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.