Lines 89-100
Link Here
|
89 |
# name of C Compiler |
89 |
# name of C Compiler |
90 |
CC*=gcc |
90 |
CC*=gcc |
91 |
# flags for C and C++ Compiler |
91 |
# flags for C and C++ Compiler |
92 |
# do not use standard header search paths |
92 |
CFLAGS+=-fmessage-length=0 -c $(INCLUDE) |
93 |
# if installed elsewhere |
|
|
94 |
.IF "$(BUILD_SOSL)"!="" |
95 |
CFLAGS= |
96 |
.ENDIF |
97 |
CFLAGS+=-fmessage-length=0 -c $(INCLUDE) -g |
98 |
# flags for the C++ Compiler |
93 |
# flags for the C++ Compiler |
99 |
CFLAGSCC= -pipe -mcpu=pentiumpro |
94 |
CFLAGSCC= -pipe -mcpu=pentiumpro |
100 |
# Flags for enabling exception handling |
95 |
# Flags for enabling exception handling |
Lines 103-109
Link Here
|
103 |
CFLAGS_NO_EXCEPTIONS=-fno-exceptions |
98 |
CFLAGS_NO_EXCEPTIONS=-fno-exceptions |
104 |
|
99 |
|
105 |
# -fpermissive should be removed as soon as possible |
100 |
# -fpermissive should be removed as soon as possible |
106 |
CFLAGSCXX= -pipe -mcpu=pentiumpro -fno-for-scope -fpermissive -fno-rtti |
101 |
CFLAGSCXX= -pipe -mcpu=pentiumpro -fno-for-scope -fpermissive |
107 |
|
102 |
|
108 |
# HACK: enable Hamburg developers to build on glibc-2.2 machines but compile vs. glibc-2.1 headers |
103 |
# HACK: enable Hamburg developers to build on glibc-2.2 machines but compile vs. glibc-2.1 headers |
109 |
.IF "$(BUILD_SPECIAL)"=="" |
104 |
.IF "$(BUILD_SPECIAL)"=="" |
Lines 138-144
Link Here
|
138 |
# Enable all warnings |
133 |
# Enable all warnings |
139 |
CFLAGSWALL=-Wall |
134 |
CFLAGSWALL=-Wall |
140 |
# Set default warn level |
135 |
# Set default warn level |
141 |
CFLAGSDFLTWARN=-w |
136 |
CFLAGSDFLTWARN= |
142 |
|
137 |
|
143 |
# switches for dynamic and static linking |
138 |
# switches for dynamic and static linking |
144 |
STATIC = -Wl,-Bstatic |
139 |
STATIC = -Wl,-Bstatic |