Lines 64-70
Link Here
|
64 |
ASM=gcc |
64 |
ASM=gcc |
65 |
AFLAGS=-Wa,-Av8plus,-K,PIC -c $(CDEFS) |
65 |
AFLAGS=-Wa,-Av8plus,-K,PIC -c $(CDEFS) |
66 |
|
66 |
|
67 |
SOLAR_JAVA=TRUE |
67 |
SOLAR_JAVA*=TRUE |
68 |
JAVAFLAGSDEBUG=-g |
68 |
JAVAFLAGSDEBUG=-g |
69 |
|
69 |
|
70 |
# filter for supressing verbose messages from linker |
70 |
# filter for supressing verbose messages from linker |
Lines 95-100
Link Here
|
95 |
CFLAGS= |
95 |
CFLAGS= |
96 |
.ENDIF |
96 |
.ENDIF |
97 |
CFLAGS+=-fmessage-length=0 -c $(INCLUDE) |
97 |
CFLAGS+=-fmessage-length=0 -c $(INCLUDE) |
|
|
98 |
|
99 |
# flags to enable build with symbols; required for crashdump feature |
100 |
.IF "$(ENABLE_SYMBOLS)"=="SMALL" |
101 |
CFLAGSENABLESYMBOLS=-g1 |
102 |
.ELSE |
103 |
CFLAGSENABLESYMBOLS=-g |
104 |
.ENDIF |
105 |
|
98 |
# flags for the C++ Compiler |
106 |
# flags for the C++ Compiler |
99 |
CFLAGSCC= -pipe |
107 |
CFLAGSCC= -pipe |
100 |
# Flags for enabling exception handling |
108 |
# Flags for enabling exception handling |
Lines 103-109
Link Here
|
103 |
CFLAGS_NO_EXCEPTIONS=-fno-exceptions |
111 |
CFLAGS_NO_EXCEPTIONS=-fno-exceptions |
104 |
|
112 |
|
105 |
# -fpermissive should be removed as soon as possible |
113 |
# -fpermissive should be removed as soon as possible |
106 |
CFLAGSCXX= -pipe -fno-for-scope -fpermissive -fno-rtti |
114 |
CFLAGSCXX= -pipe -fpermissive -fno-rtti |
107 |
|
115 |
|
108 |
# HACK: enable Hamburg developers to build on glibc-2.2 machines but compile vs. glibc-2.1 headers |
116 |
# HACK: enable Hamburg developers to build on glibc-2.2 machines but compile vs. glibc-2.1 headers |
109 |
.IF "$(BUILD_SPECIAL)"=="" |
117 |
.IF "$(BUILD_SPECIAL)"=="" |
Lines 130-138
Link Here
|
130 |
# Compiler flags for enabling optimazations |
138 |
# Compiler flags for enabling optimazations |
131 |
# CFLAGSOPT=-O2 |
139 |
# CFLAGSOPT=-O2 |
132 |
# reduce to -O1 to avoid optimisation problems |
140 |
# reduce to -O1 to avoid optimisation problems |
133 |
CFLAGSOPT=-O1 |
141 |
# CFLAGSOPT=-01 |
|
|
142 |
# We use -03, also see IZ 17788 -fno-strict-aliasing |
143 |
CFLAGSOPT=-O3 -fno-strict-aliasing |
134 |
# Compiler flags for disabling optimazations |
144 |
# Compiler flags for disabling optimazations |
135 |
CFLAGSNOOPT= |
145 |
#CFLAGSNOOPT= |
|
|
146 |
CFLAGSNOOPT=-fno-strict-aliasing |
136 |
# Compiler flags for discibing the output path |
147 |
# Compiler flags for discibing the output path |
137 |
CFLAGSOUTOBJ=-o |
148 |
CFLAGSOUTOBJ=-o |
138 |
# Enable all warnings |
149 |
# Enable all warnings |