summaryrefslogtreecommitdiff
path: root/toolchain/uclibc-ng/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-09-05 07:51:40 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-09-05 07:53:10 +0200
commit973b75d52b93bfa2d201042dd009f1b9bcf97c1a (patch)
treeef38dcd5c5654f190e9325fe004a7b2cec36d3a1 /toolchain/uclibc-ng/Makefile
parent566bce487d50be2de054cfcfc68bf28518ce455c (diff)
use UCLIBC_EXTRA_CFLAGS otherwise CPU_FLAGS are overwritten. breaks f.e. arc toolchain build
Diffstat (limited to 'toolchain/uclibc-ng/Makefile')
-rw-r--r--toolchain/uclibc-ng/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/toolchain/uclibc-ng/Makefile b/toolchain/uclibc-ng/Makefile
index f1cb89456..99fb1d83b 100644
--- a/toolchain/uclibc-ng/Makefile
+++ b/toolchain/uclibc-ng/Makefile
@@ -95,7 +95,7 @@ endif
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \
HOSTCC="$(HOST_CC)" \
- CPU_CFLAGS="$(TARGET_CFLAGS)" \
+ UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
V=1 \
oldconfig
PATH='$(HOST_PATH)' $(MAKE) ${UCLIBC_MAKEOPTS} -C $(WRKBUILD) \
@@ -103,7 +103,7 @@ endif
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=$(STAGING_TARGET_DIR) \
HOSTCC="$(HOST_CC)" \
- CPU_CFLAGS="$(TARGET_CFLAGS)" \
+ UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
V=1 \
install_headers
touch $(WRKBUILD)/.configured
@@ -115,7 +115,7 @@ $(WRKBUILD)/.compiled:
DEVEL_PREFIX=/ \
RUNTIME_PREFIX=/ \
HOSTCC="$(HOST_CC)" \
- CPU_CFLAGS="$(TARGET_CFLAGS)" \
+ UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
all
touch $@
@@ -125,7 +125,7 @@ $(WRKBUILD)/.install_headers: $(WRKBUILD)/.compiled
DEVEL_PREFIX=/usr/ \
DEVEL_PREFIX_LIB=/ \
RUNTIME_PREFIX=/ \
- CPU_CFLAGS="$(TARGET_CFLAGS)" \
+ UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
install_dev
touch $@
@@ -135,7 +135,7 @@ $(WRKBUILD)/.installed: $(WRKBUILD)/.install_headers
DEVEL_PREFIX=/usr/ \
DEVEL_PREFIX_LIB=/ \
RUNTIME_PREFIX=/ \
- CPU_CFLAGS="$(TARGET_CFLAGS)" \
+ UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
install_runtime
touch $@
@@ -144,7 +144,7 @@ ifeq ($(ADK_UCLIBC_TEST),y)
PATH='$(HOST_PATH)' $(MAKE) -C $(WRKBUILD) \
TEST_INSTALLED_UCLIBC=1 \
UCLIBC_ONLY=1 \
- CPU_CFLAGS="$(TARGET_CFLAGS)" \
+ UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
test_compile
endif
ifeq ($(ADK_TARGET_TOOLCHAIN),y)