Makefile 1.3 KB

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