Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 309153 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile.orig (-10 / +3 lines)
Lines 117-132 Link Here
117
# Compilation definitions.
117
# Compilation definitions.
118
# ----------------------------------------------------------------------
118
# ----------------------------------------------------------------------
119
119
120
DEBUGDEFS = -DDEBUG
121
120
122
DEFS = $(CONFIGDEFS) $(DEBUGDEFS) $(SYSDEFS) $(INCLUDES)
121
DEFS = $(CONFIGDEFS) $(DEBUGDEFS) $(SYSDEFS) $(INCLUDES)
123
122
124
COPTS = -pipe
125
123
126
COPTIM = -O2
127
COPTIM = -O
128
124
129
CDEBUG = -g
130
125
131
# GCC lint-like warnings -- any warnings are likely bugs in the
126
# GCC lint-like warnings -- any warnings are likely bugs in the
132
# platform headers or in gcc itself....
127
# platform headers or in gcc itself....
Lines 139-145 Link Here
139
 -Wswitch \
134
 -Wswitch \
140
 -Wcomment \
135
 -Wcomment \
141
 -Wcast-qual \
136
 -Wcast-qual \
142
 -Wid-clash-30 \
143
 -Wpointer-arith \
137
 -Wpointer-arith \
144
 -Wshadow
138
 -Wshadow
145
#endif
139
#endif
Lines 147-153 Link Here
147
#if $(__GNULD__) >= 1
141
#if $(__GNULD__) >= 1
148
GNULDWARNFLAGS = -W \
142
GNULDWARNFLAGS = -W \
149
 -Wall \
143
 -Wall \
150
 -Wid-clash-30
151
#endif
144
#endif
152
145
153
#if $(__GNUC__) >= 2
146
#if $(__GNUC__) >= 2
Lines 169-175 Link Here
169
#endif
162
#endif
170
163
171
CPPFLAGS = $(DEFS)
164
CPPFLAGS = $(DEFS)
172
CFLAGS = $(COPTS) $(CDEBUG) $(COPTIM) $(GCCWARNFLAGS) $(GCC2WARNFLAGS) $(GCC3WARNFLAGS)
165
CFLAGS += $(GCCWARNFLAGS) $(GCC2WARNFLAGS) $(GCC3WARNFLAGS)
173
166
174
# Select your favorite compiler if make doesn't already know it...
167
# Select your favorite compiler if make doesn't already know it...
175
#if defined(next)
168
#if defined(next)
Lines 250-256 Link Here
250
# Unfortunately SunOS-5.9 has only libresolv.so !!!
243
# Unfortunately SunOS-5.9 has only libresolv.so !!!
251
#
244
#
252
#if defined(NEED_LIBRESOLV) && !defined(sunos5.x) && !(BIND-8.4.x)
245
#if defined(NEED_LIBRESOLV) && !defined(sunos5.x) && !(BIND-8.4.x)
253
LDFLAGS = -static $(GNULDWARNFLAGS)
246
LDFLAGS += $(GNULDWARNFLAGS)
254
#else
247
#else
255
#LDFLAGS = $(GNULDWARNFLAGS)
248
#LDFLAGS = $(GNULDWARNFLAGS)
256
#endif
249
#endif
Lines 294-300 Link Here
294
# ----------------------------------------------------------------------
287
# ----------------------------------------------------------------------
295
288
296
BINOWN = root
289
BINOWN = root
297
BINGRP = staff
290
BINGRP = root
298
BINMODE = 755
291
BINMODE = 755
299
#STRIPFLAG = -s
292
#STRIPFLAG = -s
300
293

Return to bug 309153