diff options
Diffstat (limited to 'package/pcc/Makefile')
-rw-r--r-- | package/pcc/Makefile | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/package/pcc/Makefile b/package/pcc/Makefile index c7f3878da..891651d3a 100644 --- a/package/pcc/Makefile +++ b/package/pcc/Makefile @@ -22,17 +22,14 @@ 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=${REAL_GNU_TARGET_NAME} -CONFIGURE_ARGS+= --target=${REAL_GNU_TARGET_NAME} +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 ifeq ($(ADK_TARGET_LIB_GLIBC),y) TARGET_CPPFLAGS+= -DADK_FOR_GLIBC else -ifeq ($(ADK_TARGET_LIB_EGLIBC),y) -TARGET_CPPFLAGS+= -DADK_FOR_GLIBC -else ifeq ($(ADK_TARGET_LIB_UCLIBC),y) TARGET_CPPFLAGS+= -DADK_FOR_UCLIBC endif |