diff options
Diffstat (limited to 'mk/vars.mk')
-rw-r--r-- | mk/vars.mk | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mk/vars.mk b/mk/vars.mk index 7b9bbe462..087ddce88 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:= |