1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 37089e80c3f2e9a0663d7ccc51c2a6c7dbbf3275bc1e4ed1ed3b1460cd5b3030
10 PKG_DESCR
:= java compiler
11 PKG_SECTION
:= dev
/lang
12 HOST_BUILDDEP
:= zip-host
13 PKG_SITES
:= ${MASTER_SITE_GNU
:=gcc
/gcc-
${PKG_VERSION}/}
15 PKG_CFLINE_GCJ
:= depends on ADK_HOST_ONLY
17 DISTFILES
:= gcc-
$(PKG_VERSION
).
tar.gz
18 WRKDIST
= ${WRKDIR}/gcc-
${PKG_VERSION}
20 include $(ADK_TOPDIR
)/mk
/host.mk
21 include $(ADK_TOPDIR
)/mk
/package.mk
23 $(eval
$(call HOST_template
,GCJ
,gcj
,$(PKG_VERSION
)-${PKG_RELEASE}))
25 HOST_MAKE_ENV
+= "JAR=no LDFLAGS=-liconv"
26 # http://gcc.gnu.org/bugzilla/attachment.cgi?id=30880&action=diff
27 HOST_CONFIGURE_ARGS
:= --enable-dependency-tracking \
29 --enable-languages
=java \
32 --with-mpc
=$(STAGING_HOST_DIR
) \
33 --with-mpfr
=$(STAGING_HOST_DIR
) \
34 --with-gmp
=$(STAGING_HOST_DIR
) \
36 --without-libiconv-prefix \
37 --disable-libmudflap \
40 --disable-decimal-float \
44 include ${ADK_TOPDIR}/mk
/host-bottom.mk
45 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk