2.3.90-26

This commit is contained in:
Jakub Jelinek 2006-01-04 08:49:45 +00:00
parent 813f76e2aa
commit 8dcd309117

View File

@ -242,14 +242,14 @@ package or when debugging this package.
%endif %endif
# Hack till glibc-kernheaders get updated, argh # Hack till glibc-kernheaders get updated, argh
mkdir linux mkdir -p override_headers/linux
cat > linux/version.h <<EOF cat > override_headers/linux/version.h <<EOF
#define UTS_RELEASE "2.6.9" #define UTS_RELEASE "2.6.9"
#define LINUX_VERSION_CODE 132617 #define LINUX_VERSION_CODE 132617
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
EOF EOF
mkdir asm mkdir -p override_headers/asm
cat > asm/unistd.h <<EOF cat > override_headers/asm/unistd.h <<EOF
#ifndef _HACK_ASM_UNISTD_H #ifndef _HACK_ASM_UNISTD_H
#include_next <asm/unistd.h> #include_next <asm/unistd.h>
%ifarch alpha %ifarch alpha
@ -429,7 +429,7 @@ cat > asm/unistd.h <<EOF
%endif %endif
#endif #endif
EOF EOF
cat > asm/errno.h <<EOF cat > override_headers/asm/errno.h <<EOF
#ifndef _HACK_ASM_ERRNO_H #ifndef _HACK_ASM_ERRNO_H
#include_next <asm/errno.h> #include_next <asm/errno.h>
%ifarch alpha %ifarch alpha
@ -541,7 +541,7 @@ mkdir $builddir ; cd $builddir
build_CFLAGS="$BuildFlags -g -O3 $*" build_CFLAGS="$BuildFlags -g -O3 $*"
CC="$GCC" CXX="$GXX" CFLAGS="$build_CFLAGS" ../configure --prefix=%{_prefix} \ CC="$GCC" CXX="$GXX" CFLAGS="$build_CFLAGS" ../configure --prefix=%{_prefix} \
--enable-add-ons=nptl$AddOns --without-cvs $EnableKernel \ --enable-add-ons=nptl$AddOns --without-cvs $EnableKernel \
--with-headers=%{_prefix}/include --enable-bind-now \ --with-headers=`cd ..; pwd`/override_headers:%{_prefix}/include --enable-bind-now \
--with-tls --with-__thread --build %{nptl_target_cpu}-redhat-linux \ --with-tls --with-__thread --build %{nptl_target_cpu}-redhat-linux \
--host %{nptl_target_cpu}-redhat-linux \ --host %{nptl_target_cpu}-redhat-linux \
--disable-profile --disable-profile