From b5f7c44a4fb51270a4390cff9cd42a77db78224e Mon Sep 17 00:00:00 2001 From: Michael Lauer Date: Sun, 22 Oct 2006 13:30:07 +0000 Subject: [PATCH] sharprom-compatible.conf: override compiler flags to make it find the STAGING area --- conf/distro/sharprom-compatible.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/distro/sharprom-compatible.conf b/conf/distro/sharprom-compatible.conf index cc5a8e747b..9d4fd4c338 100644 --- a/conf/distro/sharprom-compatible.conf +++ b/conf/distro/sharprom-compatible.conf @@ -17,6 +17,9 @@ TARGET_CC_ARCH = "-march=armv4" FULL_OPTIMIZATION = "-fexpensive-optimizations -fomit-frame-pointer -O2" OEINCLUDELOGS = "yes" KERNEL_CONSOLE = "tty1" +# prebuilt toolchain doesn't now about -isystem +export BUILD_CPPFLAGS = "-I${STAGING_DIR}/${BUILD_SYS}/include" +export TARGET_CPPFLAGS = "-I${STAGING_DIR}/${TARGET_SYS}/include" #DEBUG_OPTIMIZATION = "-O -g3" #DEBUG_BUILD = "1" -- 2.39.5