use g++ to link llvmcore.so so it gets libstdc++ (#674079)

This commit is contained in:
Dave Airlie 2011-03-14 13:23:18 +10:00
parent d55d73c6bb
commit 424069beb1
2 changed files with 5 additions and 2 deletions

View File

@ -3,4 +3,4 @@
include configs/linux-llvm.llvmcore
llvmcore:
gcc -fPIC -shared -o libllvmcore-$(shell llvm-config --version).so -Wl,--whole-archive $(shell llvm-config --ldflags) $(LLVM_LIBS) -Wl,--no-whole-archive
g++ -fPIC -shared -o libllvmcore-$(shell llvm-config --version).so -Wl,--whole-archive $(shell llvm-config --ldflags) $(LLVM_LIBS) -Wl,--no-whole-archive

View File

@ -15,7 +15,7 @@
Summary: Mesa graphics libraries
Name: mesa
Version: 7.10
Release: 0.28%{?dist}
Release: 0.29%{?dist}
License: MIT
Group: System Environment/Libraries
URL: http://www.mesa3d.org
@ -474,6 +474,9 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/libOSMesa.so
%changelog
* Mon Mar 14 2011 Dave Airlie <airlied@redhat.com> 7.10-0.29
- use g++ to link llvmcore.so so it gets libstdc++ (#674079)
* Fri Mar 04 2011 Dan Horák <dan[at]danny.cz> 7.10-0.28
- enable gallium-llvm only when with_hardware is set (workarounds linking
failure on s390(x))