Commit 6b118698 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

glibc should automatically pick up kernel version

parent 0b58b965
......@@ -6,7 +6,7 @@ all: nsswitch.conf ld.so.conf
cd glibc-2.29 && sed -i 's|libs -o|libs -L/usr/lib -Wl,-dynamic-linker=$(LINKER) -o|' scripts/test-installation.pl
cd glibc-2.29 && sed -i 's/\\$$$$(pwd)/`pwd`/' timezone/Makefile
mkdir glibc-build
cd glibc-build && ../glibc-2.29/configure --build=$(CLFS_TARGET) --host=$(CLFS_TARGET) --prefix=/usr --disable-werror --enable-kernel=5.2.8 --enable-stack-protector=strong libc_cv_slibdir=/lib
cd glibc-build && ../glibc-2.29/configure --build=$(CLFS_TARGET) --host=$(CLFS_TARGET) --prefix=/usr --disable-werror --enable-kernel=$$(uname -r) --enable-stack-protector=strong libc_cv_slibdir=/lib
$(MAKE) -C glibc-build
# FIXME: glibc tests fail, we should exclude tests which are known to fail and beyond our control
-if [[ ! "$(BUILD_OPTIONS)" =~ no-tests ]] ; then \
......
......@@ -13,7 +13,7 @@
<env key="CC" value="${CLFS_TARGET}-gcc"/>
<env key="AR" value="${CLFS_TARGET}-ar"/>
<env key="RANLIB" value="${CLFS_TARGET}-ranlib"/>
<arg line="--prefix=/tools --host=${CLFS_TARGET} --build=${CLFS_HOST} --enable-kernel=5.2.8 --with-binutils=${sysrootdir}/cross-tools/bin --with-headers=${sysrootdir}/tools/include"/>
<arg line="--prefix=/tools --host=${CLFS_TARGET} --build=${CLFS_HOST} --with-binutils=${sysrootdir}/cross-tools/bin --with-headers=${sysrootdir}/tools/include"/>
</exec>
<exec executable="make" dir="${makedir}" failonerror="true">
<env key="PATH" path="${PATH}"/>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment