]> git.pld-linux.org Git - packages/libreoffice.git/blob - openoffice.org-hotfix-gcc45.patch
- simplier make -j flags extraction
[packages/libreoffice.git] / openoffice.org-hotfix-gcc45.patch
1 --- cppu/inc/uno/lbnames.h.old  2010-02-02 12:49:41.000000000 +0100
2 +++ cppu/inc/uno/lbnames.h      2010-03-05 17:13:22.000000000 +0100
3 @@ -62,12 +62,12 @@ provoking error here, because PP ignores
4  #error "Tested gcc 2 versions are 2.91 and 2.95.  Patch uno/lbnames.h to try your gcc 2 version."
5  #elif (__GNUC__ == 3 && __GNUC_MINOR__ <= 4)
6  #define __CPPU_ENV gcc3
7 -#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 4)
8 +#elif (__GNUC__ == 4 && __GNUC_MINOR__ <= 5)
9  #define __CPPU_ENV gcc3
10  #elif (__GNUC__ == 3)
11  #error "Tested gcc 3 version is <= 3.4.  Patch uno/lbnames.h to try your gcc 3 version."
12  #else
13 -#error "Supported gcc majors are 2 , 3 and 4 <= 4.4.  Unsupported gcc major version."
14 +#error "Supported gcc majors are 2 , 3 and 4 <= 4.5.  Unsupported gcc major version."
15  #endif /* defined (__GNUC__) */
16  #endif /* defined (_MSC_VER) */
17  
18 --- sal/cpprt/makefile.mk.old   2010-02-02 12:49:41.000000000 +0100
19 +++ sal/cpprt/makefile.mk       2010-03-04 18:06:37.000000000 +0100
20 @@ -43,6 +43,11 @@ LIBTARGET=NO
21  CFLAGS+= $(LFS_CFLAGS)
22  CXXFLAGS+= $(LFS_CFLAGS)
23  
24 +.IF "$(CCNUMVER)" >= "000400050000" && "$(CCNUMVER)" < "000400060000"
25 +CFLAGS+= -fno-ipa-sra
26 +CXXFLAGS+= -fno-ipa-sra
27 +.ENDIF 
28 +
29  # --- Files --------------------------------------------------------
30  
31  SLOFILES =     \
This page took 0.025216 seconds and 3 git commands to generate.