1
0

Makefile 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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.8.4
  6. PKG_RELEASE:= 1
  7. PKG_HASH:= 655fe692ddd333c29c5a1418f50f63a42cdd9e9eb7ebdb7f621e33c4b8799e31
  8. PKG_DESCR:= java compiler
  9. PKG_SECTION:= dev/lang
  10. PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
  11. PKG_CFLINE_GCJ:= depends on ADK_HOST_ONLY
  12. DISTFILES:= gcc-$(PKG_VERSION).tar.gz
  13. WRKDIST= ${WRKDIR}/gcc-${PKG_VERSION}
  14. include $(ADK_TOPDIR)/mk/host.mk
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,GCJ,gcj,$(PKG_VERSION)-${PKG_RELEASE}))
  17. HOST_MAKE_ENV+= "JAR=no LDFLAGS=-liconv"
  18. # http://gcc.gnu.org/bugzilla/attachment.cgi?id=30880&action=diff
  19. HOST_CONFIGURE_ARGS:= --enable-dependency-tracking \
  20. --enable-java-home \
  21. --enable-languages=java \
  22. --enable-shared \
  23. --with-ffi \
  24. --with-mpc=$(STAGING_HOST_DIR) \
  25. --with-mpfr=$(STAGING_HOST_DIR) \
  26. --with-gmp=$(STAGING_HOST_DIR) \
  27. --disable-nls \
  28. --without-libiconv-prefix \
  29. --disable-libmudflap \
  30. --disable-libgomp \
  31. --disable-biarch \
  32. --disable-decimal-float \
  33. --disable-multilib \
  34. --disable-bootstrap
  35. include ${ADK_TOPDIR}/mk/host-bottom.mk
  36. include ${ADK_TOPDIR}/mk/pkg-bottom.mk