diff options
author | ale <ale@FreeBSD.org> | 2008-07-15 21:40:53 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2008-07-15 21:40:53 +0800 |
commit | 54755f694e198275d9372b7e3a0eb51a6f71b753 (patch) | |
tree | 8608227c5292d55f820bc325fdbf1b4ded14dce5 /databases/mysql54-server | |
parent | daecd97e07c92f0751c940cf237ee65ee0ceff3c (diff) | |
download | freebsd-ports-gnome-54755f694e198275d9372b7e3a0eb51a6f71b753.tar.gz freebsd-ports-gnome-54755f694e198275d9372b7e3a0eb51a6f71b753.tar.zst freebsd-ports-gnome-54755f694e198275d9372b7e3a0eb51a6f71b753.zip |
Add support for --with-fast-mutexes.
PR: ports/125616
Submitted by: Gea-Suan Lin <gslin@gslin.org>
Diffstat (limited to 'databases/mysql54-server')
-rw-r--r-- | databases/mysql54-server/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/databases/mysql54-server/Makefile b/databases/mysql54-server/Makefile index 469b782d1c0b..7054148353c3 100644 --- a/databases/mysql54-server/Makefile +++ b/databases/mysql54-server/Makefile @@ -45,6 +45,9 @@ CONFIGURE_ARGS+=--with-extra-charsets=${WITH_XCHARSET} .if defined(WITH_OPENSSL) CONFIGURE_ARGS+=--with-ssl=bundled .endif +.if defined(WITH_FAST_MUTEXES) +CONFIGURE_ARGS+=--with-fast-mutexes +.endif .if defined(BUILD_STATIC) CONFIGURE_ARGS+=--with-mysqld-ldflags=-all-static .endif @@ -115,6 +118,7 @@ pre-fetch: @${ECHO} " WITH_LINUXTHREADS=yes Use the linuxthreads pthread library." @${ECHO} " WITH_PROC_SCOPE_PTH=yes Use process scope threads" @${ECHO} " (try it if you use libpthread)." + @${ECHO} " WITH_FAST_MUTEXES=yes Replace mutexes with spinlocks." @${ECHO} " BUILD_OPTIMIZED=yes Enable compiler optimizations" @${ECHO} " (use it if you need speed)." @${ECHO} " BUILD_STATIC=yes Build a static version of mysqld." |