update dev300-m58
[ooovba.git] / applied_patches / 0216-solenv-really-use-unsinged-char-on-ppc.diff
blob45c09adf373fb62a9a99a3819f109702b4b162b9
1 --- solenv/inc/unxlngppc.mk.old 2007-08-23 20:15:01.000000000 +0200
2 +++ solenv/inc/unxlngppc.mk 2007-08-27 12:12:19.000000000 +0200
3 @@ -83,9 +83,8 @@ LINKFLAGS += -Wl,--hash-style=gnu
4 LINKFLAGS += -Wl,-zdynsort
5 .ENDIF
7 -# source code is still not signed versus unsigned char clean
8 -CFLAGS=-fsigned-char -nostdinc -c
9 -CFLAGSCC=-fsigned-char $(ARCH_FLAGS)
10 +CFLAGS=-nostdinc -c
11 +CFLAGSCC=$(ARCH_FLAGS)
13 # Flags for enabling exception handling
14 CFLAGSEXCEPTIONS=-fexceptions
15 --- solenv/inc/unxmacx.mk.old 2008-01-16 16:18:33.000000000 +0100
16 +++ solenv/inc/unxmacx.mk 2008-01-16 16:29:03.000000000 +0100
17 @@ -90,7 +90,7 @@ CC*=gcc
18 objc*=gcc
19 objcpp*=g++
21 -CFLAGS=-fsigned-char -fmessage-length=0 -malign-natural -c $(EXTRA_CFLAGS)
22 +CFLAGS=-fmessage-length=0 -malign-natural -c $(EXTRA_CFLAGS)
24 .IF "$(DISABLE_DEPRECATION_WARNING)" == "TRUE"
25 CFLAGS+=-Wno-deprecated-declarations
26 @@ -99,7 +99,7 @@ CFLAGS+=-Wno-deprecated-declarations
27 # Compilation flags
28 # ---------------------------------
29 # Normal C compilation flags
30 -CFLAGSCC=-pipe -fsigned-char -malign-natural $(ARCH_FLAGS)
31 +CFLAGSCC=-pipe -malign-natural $(ARCH_FLAGS)
33 # Normal Objective C compilation flags
34 #OBJCFLAGS=-no-precomp
35 @@ -113,7 +113,7 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enfor
36 CFLAGS_NO_EXCEPTIONS=-fno-exceptions
38 # Normal C++ compilation flags
39 -CFLAGSCXX=-pipe -malign-natural -fsigned-char -Wno-long-double $(ARCH_FLAGS)
40 +CFLAGSCXX=-pipe -malign-natural -Wno-long-double $(ARCH_FLAGS)
41 CFLAGSCXX+= -Wno-ctor-dtor-privacy
43 PICSWITCH:=-fPIC
44 --- solenv/inc/unxlngppc4.mk.old 2007-07-24 11:14:04.000000000 +0200
45 +++ solenv/inc/unxlngppc4.mk 2007-08-27 15:56:25.000000000 +0200
46 @@ -70,10 +70,10 @@ CXX*=g++
47 # name of C Compiler
48 CC*=gcc
50 -CFLAGS+=-fsigned-char -fmessage-length=0 -c
51 +CFLAGS+=-fmessage-length=0 -c
53 # flags for the C++ Compiler
54 -CFLAGSCC= -fsigned-char -pipe $(ARCH_FLAGS)
55 +CFLAGSCC= -pipe $(ARCH_FLAGS)
57 # Flags for enabling exception handling
58 CFLAGSEXCEPTIONS=-fexceptions -fno-enforce-eh-specs
59 @@ -81,7 +81,7 @@ CFLAGSEXCEPTIONS=-fexceptions -fno-enfor
60 # Flags for disabling exception handling
61 CFLAGS_NO_EXCEPTIONS=-fno-exceptions
63 -CFLAGSCXX= -fsigned-char -pipe -frtti $(ARCH_FLAGS)
64 +CFLAGSCXX= -pipe -frtti $(ARCH_FLAGS)
65 PICSWITCH:=-fPIC
67 # Compiler flags for compiling static object in multi threaded environment with graphical user interface