Makefile 562 B

123456789101112131415161718192021222324252627282930
  1. #
  2. # Copyright (C) 2009-2013 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=gmp
  9. PKG_VERSION:=5.1.3
  10. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  11. PKG_SOURCE_URL:=@GNU/gmp/
  12. PKG_MD5SUM:=e5fe367801ff067b923d1e6a126448aa
  13. HOST_FIXUP:=autoreconf
  14. HOST_BUILD_PARALLEL:=1
  15. include $(INCLUDE_DIR)/host-build.mk
  16. unexport CFLAGS
  17. HOST_CONFIGURE_ARGS += \
  18. --enable-static \
  19. --disable-shared \
  20. --enable-cxx \
  21. --enable-mpbsd
  22. $(eval $(call HostBuild))