summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-04-29 13:40:58 (GMT)
committer Peter Korsgaard <jacmet@sunsite.dk>2011-04-29 13:40:58 (GMT)
commit7e3e8ec040b06d6e2fb69e55c004f1ebc02c76d0 (patch)
treebaea63bab156a0400501fe99d9be8558251334d0
parent8b370e63806fa2ab064cd2b30d627914cc5c0a43 (diff)
downloadbuildroot-7e3e8ec040b06d6e2fb69e55c004f1ebc02c76d0.tar.gz
buildroot-7e3e8ec040b06d6e2fb69e55c004f1ebc02c76d0.tar.bz2
package/Makefile.in: CFLAGS/LDFLAGS: don't add -I / -L args for STAGING_DIR
Now that we use sysroot for all toolchains, the explicit -I / -L arguments in CFLAGS / LDFLAGS aren't needed anymore (And having them makes the build quite noisy for certain packages as STAGING_DIR/include normally doesn't exist). Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r--package/Makefile.in5
1 files changed, 0 insertions, 5 deletions
diff --git a/package/Makefile.in b/package/Makefile.in
index f98b3e7..7811d51 100644
--- a/package/Makefile.in
+++ b/package/Makefile.in
@@ -98,11 +98,6 @@ ifeq ($(BR2_LARGEFILE),y)
TARGET_CFLAGS+=-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
endif
-ifeq ($(BR2_TOOLCHAIN_BUILDROOT),y)
-TARGET_CFLAGS+=-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include
-endif
-
-TARGET_LDFLAGS+=-L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
TARGET_CXXFLAGS=$(TARGET_CFLAGS)
TARGET_SYSROOT_OPT=--sysroot=$(STAGING_DIR)