Fix incorrect platform-specific include path on i686

This commit is contained in:
Michel Alexandre Salim 2011-08-02 00:03:34 +02:00
parent a5a420ce6d
commit b3232c7028

View file

@ -242,9 +242,11 @@ popd
--enable-shared \ --enable-shared \
--with-c-include-dirs=%{_includedir}:$(find %{_prefix}/lib/gcc/*/* \ --with-c-include-dirs=%{_includedir}:$(find %{_prefix}/lib/gcc/*/* \
-maxdepth 0 -type d)/include \ -maxdepth 0 -type d)/include \
%if %{__isa_bits} == 64
--with-cxx-include-32bit-dir=32 \
%endif
--with-cxx-include-root=$(find %{_includedir}/c++/* -maxdepth 0 -type d) \ --with-cxx-include-root=$(find %{_includedir}/c++/* -maxdepth 0 -type d) \
--with-cxx-include-arch=%{_arch}-%{_vendor}-%{_os} \ --with-cxx-include-arch=%{_target_cpu}-%{_vendor}-%{_os} \
--with-cxx-include-32bit-dir=32
# FIXME file this # FIXME file this
# configure does not properly specify libdir # configure does not properly specify libdir
@ -332,8 +334,10 @@ find examples -name 'Makefile' | xargs -0r rm -f
%check %check
make check # the Koji build server does not seem to have enough RAM
(cd tools/clang && make test) # for the default 16 threads
make check LIT_ARGS="-s -v -j8"
make -C tools/clang/test
%post libs -p /sbin/ldconfig %post libs -p /sbin/ldconfig
@ -453,7 +457,8 @@ exit 0
- Update to 2.9 - Update to 2.9
- Depend on libffi to allow the LLVM interpreter to call external functions - Depend on libffi to allow the LLVM interpreter to call external functions
- Build with RTTI enabled, needed by e.g. Rubinius (# 722714) - Build with RTTI enabled, needed by e.g. Rubinius (# 722714)
- Fix multilib installation - Fix multilib installation (# 699416)
- Fix incorrect platform-specific include path on i686
* Tue May 31 2011 Karsten Hopp <karsten@redhat.com> 2.9-0.4.rc2 * Tue May 31 2011 Karsten Hopp <karsten@redhat.com> 2.9-0.4.rc2
- enable ppc64 build - enable ppc64 build