]> git.pld-linux.org Git - packages/STLport.git/blob - STLport-vendor_gcc_detection.patch
- fix gcc-4.2/4.3 version detection.
[packages/STLport.git] / STLport-vendor_gcc_detection.patch
1 this patch fixes gcc version detection for 4.2/4.3:
2
3 version strings:
4 gcc (GCC) 4.2.3 20080201 (release) (PLD-Linux)
5 gcc (PLD-Linux) 4.3.0
6
7 --- STLport-5.1.5/build/Makefiles/gmake/gcc.mak.orig    2008-03-06 20:36:20.000000000 +0100
8 +++ STLport-5.1.5/build/Makefiles/gmake/gcc.mak 2008-03-06 20:44:19.000000000 +0100
9 @@ -26,7 +26,7 @@
10  else
11  
12  ifneq ($(OSNAME), windows)
13 -CXX_VERSION := $(shell ${CXX} --version | grep GCC | awk '{ print $$3; }')
14 +CXX_VERSION := $(shell ${CXX} --version | grep PLD | awk '{ print $$3; }')
15  
16  ifeq ($(CXX_VERSION),)
17  # 2.95 report only version
This page took 0.035377 seconds and 3 git commands to generate.