Commit graph

4 commits

Author SHA1 Message Date
Mark Linimon
c3c004771c Fix build on GCC-based architectures by removing default assumption that
FreeBSD == clang.

Approved by:	portmgr (tier-2 blanket)
2019-01-03 15:05:51 +00:00
Mahdi Mokhtari
577a3f0178 databases/mysql57-client: Fix build for i386
Make MySQL build-script assume that FreeBSD's Clang (on i386)
doesn't have "atomic_*" functions builtin implemented.
This is added to cmake/os/FreeBSD.cmake to make the merge for upstream easier.

This fixes the build of mysql57-client on the i386 again.

PR:		229605
Submitted by:	PitDron <pitdron@gmail.com>
Reported by:	gbromov@gmail.com
Sponsored by:	The FreeBSD Foundation
2018-12-26 12:01:58 +00:00
Mahdi Mokhtari
0e518dc7c3 databases/mysql57-client: Fix the build with GCC-based architectures
This patch adds a condition to FreeBSD part of MySQL CMake-scripts
to recognize gcc as well as Clang, while taking care of Unsupported compilers too.

This is an enhancement on the initial patch by Piotr Kubaj <pkubaj@anongoth.pl> that
committed by linimon on r488087.

PR:		234172
Sponsored by:	The FreeBSD Foundation
2018-12-22 17:16:56 +00:00
Mark Linimon
efbcacd6f5 Actually add the fix.
Reported by:	maintainer
2018-12-22 10:24:17 +00:00