summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwbx <wbx@openadk.org>2011-04-29 20:10:29 +0200
committerwbx <wbx@openadk.org>2011-04-29 20:10:29 +0200
commit4a2a821ffac90876bd140c357ede04a1c837751c (patch)
treeb65ee21bbcdd93ded4943d92c4ecd355711fb893
parent380aa2b20006281be9971f6e3a13f33719832335 (diff)
parentcf0e7634dd6b19f9e552da7cb3ad36058f6bd551 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
-rw-r--r--mk/vars.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/mk/vars.mk b/mk/vars.mk
index a7c6e30b3..5a6359910 100644
--- a/mk/vars.mk
+++ b/mk/vars.mk
@@ -66,12 +66,11 @@ TARGET_CC:= ${TARGET_COMPILER_PREFIX}gcc
TARGET_CXX:= ${TARGET_COMPILER_PREFIX}g++
TARGET_LD:= ${TARGET_COMPILER_PREFIX}ld
-TARGET_CPPFLAGS:= -I${STAGING_TARGET_DIR}/usr/include
+TARGET_CPPFLAGS:=
TARGET_CFLAGS:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident -fhonour-copts
TARGET_CXXFLAGS:= $(TARGET_CFLAGS_ARCH) -fwrapv -fno-ident
TARGET_LDFLAGS:= -Wl,-O2 -Wl,-rpath -Wl,/usr/lib \
- -Wl,-rpath-link -Wl,${STAGING_TARGET_DIR}/usr/lib \
- -L${STAGING_TARGET_DIR}/lib -L${STAGING_TARGET_DIR}/usr/lib
+ -Wl,-rpath-link -Wl,${STAGING_TARGET_DIR}/usr/lib
ifneq ($(ADK_NATIVE),)
TARGET_CPPFLAGS:=