]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
WITH_SYSTEM_COMPILER: Avoid using GCC4.8+ logic on native GCC4.2 platforms.
authorbdrewery <bdrewery@FreeBSD.org>
Wed, 29 Jun 2016 01:50:30 +0000 (01:50 +0000)
committerbdrewery <bdrewery@FreeBSD.org>
Wed, 29 Jun 2016 01:50:30 +0000 (01:50 +0000)
commit1e1f5317b73b45be67126beb4388fb4e8d6a6649
tree45578dd696c1591e61bc21c9e5c4a68a08c17700
parent8c8129e2bd32aa12f7531eeb6dd4a77fe81b715e
WITH_SYSTEM_COMPILER: Avoid using GCC4.8+ logic on native GCC4.2 platforms.

As the XXX notes, these should really be checking MK_GNUCXX since there is
already a version check in share/mk/src.opts.mk to disable it.  Fixing that
here is more complex though.  This could also be using X_COMPILER_FEATURES
but uses X_COMPILER_VERSION to keep in sync with the src.opts.mk logic.

Tested by: andreast
Sponsored by: EMC / Isilon Storage Division
Approved by: re (gjb)
Makefile.inc1
Makefile.libcompat