Makefile 1.2 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 $(TOPDIR)/rules.mk
  4. PKG_NAME:= gcj
  5. PKG_VERSION:= 4.8.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= a3d7d63b9cb6b6ea049469a0c4a43c9d
  8. PKG_DESCR:= GNU java compiler
  9. PKG_SECTION:= 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.bz2
  13. WRKDIST= ${WRKDIR}/gcc-${PKG_VERSION}
  14. include $(TOPDIR)/mk/host.mk
  15. include $(TOPDIR)/mk/package.mk
  16. $(eval $(call HOST_template,GCJ,gcj,$(PKG_VERSION)-${PKG_RELEASE}))
  17. HOST_STYLE:= auto
  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 ${TOPDIR}/mk/host-bottom.mk
  37. include ${TOPDIR}/mk/pkg-bottom.mk