cc (make.conf and make args precedence) question
Ion-Mihai Tetcu
itetcu at apropo.ro
Fri Nov 14 04:36:17 PST 2003
Hi,
buh# grep 'CFLAGS' /etc/make.conf
CFLAGS= -O2 -pipe
and
/usr/ports/mysql40-server# make -DBUILD_OPTIMIZED
(
buh# grep -A1 '(BUILD_OPTIMIZED' /usr/ports/databases/mysql40-server/Makefile
.if defined(BUILD_OPTIMIZED)
CFLAGS+= -O3 -fno-omit-frame-pointer
)
result:
....
cc -c -I. -I../.././bdb/dist/../include -D_THREAD_SAFE -DDBUG_OFF -O2
-pipe -march=k6-2 -O3 -fno-omit-frame-pointer -fno-gcse
../.././bdb/dist/../btree/bt_reclaim.c
Now what flag have precedence, -O2 or -O3 ?
IOnut
More information about the freebsd-questions
mailing list