FreeBSD Bugzilla – Attachment 35764 Details for
Bug 57644
[PATCH] changing CFLAGS and CPUTYPE respection of databases/mysql40-server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch-optimized
patch-optimized (text/plain), 1.10 KB, created by
Jens Rehsack
on 2003-10-06 14:50:18 UTC
(
hide
)
Description:
patch-optimized
Filename:
MIME Type:
Creator:
Jens Rehsack
Created:
2003-10-06 14:50:18 UTC
Size:
1.10 KB
patch
obsolete
>Index: databases/mysql40-server/Makefile >=================================================================== >diff -u databases/mysql40-server/Makefile.orig databases/mysql40-server/Makefile >--- databases/mysql40-server/Makefile.orig Mon Oct 6 13:11:15 2003 >+++ databases/mysql40-server/Makefile Mon Oct 6 13:27:45 2003 >@@ -52,6 +52,10 @@ > > .include <bsd.port.pre.mk> > >+.if defined(BUILD_OPTIMIZED) >+CFLAGS+= -O3 -fno-omit-frame-pointer >+.endif >+ > .if ${MACHINE_ARCH} == "i386" > CONFIGURE_ARGS+=--enable-assembler --with-berkeley-db > .endif >@@ -69,7 +73,10 @@ > CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static > .endif > .if defined(BUILD_OPTIMIZED) >-CFLAGS+= -mcpu=i686 >+CPUTYPE?= i686 >+.if ${OSVERSION} > 500000 || defined(USE_GCC) && ( ${USE_GCC} == 3.0 || ${USE_GCC} == 3.1 || ${USE_GCC} == 3.2 || ${USE_GCC} == 3.3 ) >+CFLAGS+= -fno-gcse >+.endif > .endif > .if defined(WITH_LINUXTHREADS) > CONFIGURE_ARGS+=--with-named-thread-libs='-DHAVE_GLIBC2_STYLE_GETHOSTBYNAME_R >@@ -85,7 +92,6 @@ > .endif > .endif > >-CFLAGS+= -O3 -fno-omit-frame-pointer > CXXFLAGS= ${CFLAGS} -felide-constructors -fno-rtti > > .if ${OSVERSION} >= 400002
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 57644
: 35764