diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-04 19:11:16 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-03-04 19:11:16 +0100 |
commit | 27406b931af52dd138e1f0bbd809df73ce1a9c2f (patch) | |
tree | d5332fbe67f4d5843ec8757f58eb551af6534dd4 /package/gcc/Makefile | |
parent | 4cbbb587cefe5db4cbf5e697b98821952728e214 (diff) |
fix gcc cross-compile
Diffstat (limited to 'package/gcc/Makefile')
-rw-r--r-- | package/gcc/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/package/gcc/Makefile b/package/gcc/Makefile index 20e99fff8..36aa0f94c 100644 --- a/package/gcc/Makefile +++ b/package/gcc/Makefile @@ -10,6 +10,19 @@ PKG_OPTS:= noremove PKG_DEPENDS:= libgmp mpfr PKG_BUILDDEP+= gmp mpfr +ifeq ($(ADK_TARGET_LIB_UCLIBC),y) +PKG_DEPENDS:= uclibc-dev +PKG_BUILDDEP+= uclibc +endif +ifeq ($(ADK_TARGET_LIB_EGLIBC),y) +PKG_DEPENDS:= eglibc-dev +PKG_BUILDDEP+= eglibc +endif +ifeq ($(ADK_TARGET_LIB_GLIBC),y) +PKG_DEPENDS:= glibc-dev +PKG_BUILDDEP+= glibc +endif + PKG_HOST_DEPENDS:= !freebsd include ${TOPDIR}/mk/package.mk |