summaryrefslogtreecommitdiff
path: root/package/pcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-17 08:24:06 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-17 08:24:06 +0100
commit4ac8527c290ad1dd0fa622097e90b3858e42e847 (patch)
treeea8c7a980a5fcd92a9104fd2d99a8ccc0f1e5c80 /package/pcc/Makefile
parent186c1bd82b6a6a1b0fcd64456088ca50e37784d5 (diff)
parenta4d9f84daa3c1d5195daf4e85cdc5d2fc1a98d5e (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)