summaryrefslogtreecommitdiff
path: root/package/pcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-02 07:37:27 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-02 07:37:27 +0200
commit7236e468162b3af51c0acecad10fbef1838c06ad (patch)
tree9c8027cf769aaa7ef7f0a6330b34d7666238b920 /package/pcc/Makefile
parenta691abc857458de0023f5e532feee866af0218ed (diff)
parent309f13ab6858e1c1639814e210a6c86380ca717b (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/pcc/Makefile')
-rw-r--r--package/pcc/Makefile12
1 files changed, 5 insertions, 7 deletions
diff --git a/package/pcc/Makefile b/package/pcc/Makefile
index 891651d3a..ef3e70b28 100644
--- a/package/pcc/Makefile
+++ b/package/pcc/Makefile
@@ -22,19 +22,17 @@ include $(TOPDIR)/mk/package.mk
$(eval $(call PKG_template,PCC,pcc,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
# we cross-compile a native compiler for the target system
-CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME}
-CONFIGURE_ARGS+= --target=${GNU_TARGET_NAME}
-CONFIGURE_ARGS+= --with-assembler=/usr/bin/as
-CONFIGURE_ARGS+= --with-linker=/usr/bin/ld
+CONFIGURE_ARGS+= --host=${GNU_TARGET_NAME} \
+ --target=${GNU_TARGET_NAME} \
+ --with-assembler=/usr/bin/as \
+ --with-linker=/usr/bin/ld
ifeq ($(ADK_TARGET_LIB_GLIBC),y)
TARGET_CPPFLAGS+= -DADK_FOR_GLIBC
-else
+endif
ifeq ($(ADK_TARGET_LIB_UCLIBC),y)
TARGET_CPPFLAGS+= -DADK_FOR_UCLIBC
endif
-endif
-endif
pcc-install:
$(INSTALL_DIR) $(IDIR_PCC)