diff --git a/glibc.spec b/glibc.spec index ed6433e..82757f7 100644 --- a/glibc.spec +++ b/glibc.spec @@ -242,14 +242,14 @@ package or when debugging this package. %endif # Hack till glibc-kernheaders get updated, argh -mkdir linux -cat > linux/version.h < override_headers/linux/version.h < asm/unistd.h < override_headers/asm/unistd.h < %ifarch alpha @@ -429,7 +429,7 @@ cat > asm/unistd.h < asm/errno.h < override_headers/asm/errno.h < %ifarch alpha @@ -541,7 +541,7 @@ mkdir $builddir ; cd $builddir build_CFLAGS="$BuildFlags -g -O3 $*" CC="$GCC" CXX="$GXX" CFLAGS="$build_CFLAGS" ../configure --prefix=%{_prefix} \ --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 \ --host %{nptl_target_cpu}-redhat-linux \ --disable-profile