[mesa] llvmcore fix build using g++ instead of gcc

Dave Airlie airlied at fedoraproject.org
Sun Mar 27 09:27:31 UTC 2011


commit 2680b7957c45187ea29e72fd23f5973039b918a4
Author: Dave Airlie <airlied at redhat.com>
Date:   Sun Mar 27 19:20:16 2011 +1000

    llvmcore fix build using g++ instead of gcc

 llvmcore.mk |    2 +-
 mesa.spec   |    5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/llvmcore.mk b/llvmcore.mk
index 4358601..fe0bb97 100644
--- a/llvmcore.mk
+++ b/llvmcore.mk
@@ -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
diff --git a/mesa.spec b/mesa.spec
index 89c47ca..e245ab8 100644
--- a/mesa.spec
+++ b/mesa.spec
@@ -18,7 +18,7 @@
 Summary: Mesa graphics libraries
 Name: mesa
 Version: 7.11
-Release: 0.1.%{gitdate}.0%{?dist}
+Release: 0.2.%{gitdate}.0%{?dist}
 License: MIT
 Group: System Environment/Libraries
 URL: http://www.mesa3d.org
@@ -477,6 +477,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/libOSMesa.so
 
 %changelog
+* Sun Mar 27 2011 Dave Airlie <airlied at redhat.com> 7.11-0.2.20110327.0
+- llvmcore fix build using g++ instead of gcc
+
 * Sun Mar 27 2011 Dave Airlie <airlied at redhat.com> 7.11-0.1.20110327.0
 - latest git snapshot, seems quiet + re-enable llvmcore
 


More information about the scm-commits mailing list