From dd4aa97de52353039a4c7b14b9fc247a70fa99f8 Mon Sep 17 00:00:00 2001 From: Pierre Pronchery Date: Wed, 19 May 2010 23:07:43 +0000 Subject: [PATCH] Hopefully help cross-compilation --- src/Makefile | 4 ++-- src/project.conf | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Makefile b/src/Makefile index 3b38037..ed6af66 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,8 +4,8 @@ PREFIX = /usr/local DESTDIR = BINDIR = $(PREFIX)/bin CC = cc -CPPFLAGSF= -I $(PREFIX)/include -CPPFLAGS= +CPPFLAGSF= +CPPFLAGS= -I $(PREFIX)/include CFLAGSF = -W CFLAGS = -Wall -g -O2 -pedantic LDFLAGS = diff --git a/src/project.conf b/src/project.conf index 5a2130f..a7c12af 100644 --- a/src/project.conf +++ b/src/project.conf @@ -1,7 +1,7 @@ subdirs=common targets=download,surfer -cppflags_force=-I $(PREFIX)/include -#cppflags=-D EMBEDDED +cppflags=-I $(PREFIX)/include +#cppflags=-I $(PREFIX)/include -D EMBEDDED cflags_force=-W cflags=-Wall -g -O2 -pedantic ldflags=