pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql57-client mysql57*: bump netbsd/i386 to...
details: https://anonhg.NetBSD.org/pkgsrc/rev/cb1e22be7d35
branches: trunk
changeset: 315521:cb1e22be7d35
user: maya <maya%pkgsrc.org@localhost>
date: Sun Nov 25 18:30:03 2018 +0000
description:
mysql57*: bump netbsd/i386 to i586 for atomics.
reported by gdt in tech-pkg
diffstat:
databases/mysql57-client/Makefile.common | 9 +++++----
1 files changed, 5 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r cfce796d0544 -r cb1e22be7d35 databases/mysql57-client/Makefile.common
--- a/databases/mysql57-client/Makefile.common Sun Nov 25 17:04:40 2018 +0000
+++ b/databases/mysql57-client/Makefile.common Sun Nov 25 18:30:03 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2018/11/22 16:14:53 adam Exp $
+# $NetBSD: Makefile.common,v 1.14 2018/11/25 18:30:03 maya Exp $
#
# used by databases/mysql57-client/Makefile
# used by databases/mysql57-server/Makefile
@@ -70,10 +70,11 @@
CMAKE_ARGS+= -DDEFAULT_COLLATION=${MYSQL_COLLATION:Q}
CMAKE_ARGS+= -DWITH_EXTRA_CHARSETS=${MYSQL_EXTRA_CHARSET:Q}
-# MySQL 5 depends on builtin functions enabled with i486 and later with GCC.
+
+# we need atomic builtins
.if ${OPSYS} == "NetBSD" && !empty(MACHINE_ARCH:Mi386)
-GNU_ARCH.i386= i486
-CFLAGS+= -march=i486
+GNU_ARCH.i386= i586
+CFLAGS+= -march=i586
.endif
CPPFLAGS+= -Dunix
Home |
Main Index |
Thread Index |
Old Index