summaryrefslogtreecommitdiff
path: root/toolchain/eglibc/Makefile.inc
blob: 5c59d9d2e62f559d16e051b301586e22b0aa28dc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

PKG_NAME:=		eglibc
PKG_VERSION:=		2.18
PKG_RELEASE:=		1
PKG_MD5SUM:=		2e4aad1b953daa997debe48fe10862cc
PKG_SITES:=		http://openadk.org/distfiles/
EGLIBC_CONFOPTS:=	--build=$(GNU_HOST_NAME) \
			--without-cvs \
			--disable-profile \
			--disable-debug \
			--enable-kernel=2.6.0 \
			--without-gd \
			--disable-nscd \
			--with-__thread \
			--with-tls \
			--disable-obsolete-rpc \
			--enable-add-ons \
			--disable-nls
EGLIBC_ENV:=		PATH='${TARGET_PATH}' \
			BUILD_CC=${CC_FOR_BUILD} \
			GCC_HONOUR_COPTS=s \
			CFLAGS="$(TARGET_CFLAGS_LIBC)" \
			CC=${REAL_GNU_TARGET_NAME}-gcc \
			CXX=${REAL_GNU_TARGET_NAME}-g++ \
			AR=${REAL_GNU_TARGET_NAME}-ar \
			RANLIB=${REAL_GNU_TARGET_NAME}-ranlib \
			libc_cv_cc_with_libunwind=no \
			libc_cv_forced_unwind=yes \
			libc_cv_c_cleanup=yes \
			libc_cv_gnu99_inline=yes \
			libc_cv_initfini_array=yes \
			libc_cv_slibdir="/lib"