summaryrefslogtreecommitdiff
path: root/package/gcc/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-08-02 00:59:38 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-08-02 00:59:38 +0200
commit644b7f27696de6fbbba53019f08ac534fd5ad37b (patch)
treef8438f69a2a6c83127b39e7d4311b6582bb1c298 /package/gcc/Makefile
parenta6f3e55ba6d92b1e9be6c91cc020bbaddb9e98a7 (diff)
fix compile of gcc package, host cppflags should be not target cppflags
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r--package/gcc/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile
index 77e346308..b12f2a3ec 100644
--- a/package/gcc/Makefile
+++ b/package/gcc/Makefile
@@ -23,9 +23,10 @@ PKG_DEPENDS+= glibc-dev
PKG_BUILDDEP+= glibc
endif
-PKG_HOST_DEPENDS:= !freebsd
PKG_TARGET_DEPENDS:= !ag241
+WRKBUILD= ${WRKDIR}/${PKG_NAME}-obj
+
include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,GCC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS}))
@@ -43,7 +44,6 @@ CONFIGURE_ARGS+= --enable-languages=c,c++ \
--disable-__cxa_atexit \
--without-headers \
--libexecdir=/usr/lib \
- --with-gnu-ld \
--disable-libssp \
--disable-nls \
--disable-sjlj-exceptions \