]> Pileus Git - ~andy/sunrise/blob - sci-libs/openfoam-wmake/files/openfoam-wmake-compile-1.4.1_p20080118.patch
e2ab13d8e2807ab6e996d247e436fd51cef5f4ab
[~andy/sunrise] / sci-libs / openfoam-wmake / files / openfoam-wmake-compile-1.4.1_p20080118.patch
1 diff -ur OpenFOAM-1.4.1-src/wmake/rules/General/flex++ OpenFOAM-1.4.1/wmake/rules/General/flex++
2 --- OpenFOAM-1.4.1-src/wmake/rules/General/flex++       2006-08-18 17:35:12.000000000 +0200
3 +++ OpenFOAM-1.4.1/wmake/rules/General/flex++   2007-10-28 17:38:46.000000000 +0100
4 @@ -1,6 +1,6 @@
5  .SUFFIXES: .L
6  
7 -Ltoo = flex++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 
8 +Ltoo = flex --c++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 
9  
10  .L.dep:
11         $(MAKE_DEP)
12 diff -ur OpenFOAM-1.4.1-src/wmake/rules/General/flex++.test OpenFOAM-1.4.1/wmake/rules/General/flex++.test
13 --- OpenFOAM-1.4.1-src/wmake/rules/General/flex++.test  2007-03-13 17:27:58.000000000 +0100
14 +++ OpenFOAM-1.4.1/wmake/rules/General/flex++.test      2007-10-28 17:39:09.000000000 +0100
15 @@ -1,6 +1,6 @@
16  .SUFFIXES: .L
17  
18 -Ltoo = flex++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 
19 +Ltoo = flex --c++ $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@ 
20  
21  .L.dep:
22         $(MAKE_DEP)