summaryrefslogtreecommitdiff
path: root/conf
diff options
context:
space:
mode:
Diffstat (limited to 'conf')
-rw-r--r--conf/distro/sharprom-compatible.conf3
1 files changed, 3 insertions, 0 deletions
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"