On Tue, 17 Feb 2009 09:45:40 +0100, Gilles <gilles.gana...@free.fr>
wrote:
>How should I tell gcc to compile for either a PIII processor, or just
>plain i386?

BTW, here are the CFLAGS-related lines MySQL Server's Makefile:

.if defined(WITH_LINUXTHREADS)
CFLAGS+=        -D__USE_UNIX98 -D_REENTRANT -D_THREAD_SAFE
CFLAGS+=        -I${LOCALBASE}/include/pthread/linuxthreads
.else
CFLAGS+=        ${PTHREAD_CFLAGS}
.endif

.if defined(BUILD_OPTIMIZED)
CFLAGS+=        -O3 -fno-omit-frame-pointer
CFLAGS+=        -fno-gcse
.endif

.if defined(WITHOUT_THR_ALARM)
CFLAGS+=        -DDONT_USE_THR_ALARM
.endif

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to