SOURCES: STLport-vendor_gcc_detection.patch (NEW) - fix gcc-4.2/4....

pluto pluto at pld-linux.org
Thu Mar 6 21:00:46 CET 2008


Author: pluto                        Date: Thu Mar  6 20:00:46 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- fix gcc-4.2/4.3 version detection.

---- Files affected:
SOURCES:
   STLport-vendor_gcc_detection.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/STLport-vendor_gcc_detection.patch
diff -u /dev/null SOURCES/STLport-vendor_gcc_detection.patch:1.1
--- /dev/null	Thu Mar  6 21:00:46 2008
+++ SOURCES/STLport-vendor_gcc_detection.patch	Thu Mar  6 21:00:41 2008
@@ -0,0 +1,17 @@
+this patch fixes gcc version detection for 4.2/4.3:
+
+version strings:
+gcc (GCC) 4.2.3 20080201 (release) (PLD-Linux)
+gcc (PLD-Linux) 4.3.0
+
+--- STLport-5.1.5/build/Makefiles/gmake/gcc.mak.orig	2008-03-06 20:36:20.000000000 +0100
++++ STLport-5.1.5/build/Makefiles/gmake/gcc.mak	2008-03-06 20:44:19.000000000 +0100
+@@ -26,7 +26,7 @@
+ else
+ 
+ ifneq ($(OSNAME), windows)
+-CXX_VERSION := $(shell ${CXX} --version | grep GCC | awk '{ print $$3; }')
++CXX_VERSION := $(shell ${CXX} --version | grep PLD | awk '{ print $$3; }')
+ 
+ ifeq ($(CXX_VERSION),)
+ # 2.95 report only version
================================================================


More information about the pld-cvs-commit mailing list