Makefile.inc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  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. PKG_NAME:= glibc
  4. PKG_VERSION:= 2.19
  5. PKG_RELEASE:= 1
  6. PKG_MD5SUM:= e26b8cc666b162f999404b03970f14e4
  7. PKG_SITES:= ${MASTER_SITE_GNU:=glibc/}
  8. GLIBC_CONFOPTS:= --build=$(GNU_HOST_NAME) \
  9. --host=$(GNU_TARGET_NAME) \
  10. --with-headers=$(STAGING_TARGET_DIR)/usr/include \
  11. --disable-sanity-checks \
  12. --disable-nls \
  13. --without-cvs \
  14. --disable-profile \
  15. --disable-debug \
  16. --without-gd \
  17. --disable-nscd \
  18. --with-__thread \
  19. --with-tls \
  20. --enable-kernel="2.6.32" \
  21. --enable-add-ons
  22. TARGET_CFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_CFLAGS))
  23. TARGET_LDFLAGS:= $(filter-out -fstack-protector-all,$(TARGET_LDFLAGS))
  24. GLIBC_ENV:= PATH='${TARGET_PATH}' \
  25. CONFIG_SHELL='$(strip ${SHELL})' \
  26. BUILD_CC=${CC_FOR_BUILD} \
  27. CFLAGS="$(TARGET_CFLAGS)" \
  28. CC="${TARGET_CC}" \
  29. CXX="${TARGET_CXX}" \
  30. AR="${TARGET_AR}" \
  31. RANLIB="${TARGET_RANLIB}" \
  32. libc_cv_forced_unwind=yes \
  33. libc_cv_cc_with_libunwind=yes \
  34. libc_cv_c_cleanup=yes \
  35. libc_cv_gnu99_inline=yes \
  36. libc_cv_initfini_array=yes \