diff options
author | Gerald Pfeifer <gerald@FreeBSD.org> | 2021-10-15 17:43:11 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@FreeBSD.org> | 2021-10-15 17:47:53 +0000 |
commit | 3d1ff1fdae49931a3572adc81519f3a277a77253 (patch) | |
tree | c4bcda5e49f2c73b368a60c594db66ac90b24248 | |
parent | 5f33c35db4933c7b266eafbe887ffed4f815f733 (diff) |
Mk/bsd.gcc.mk: Remove USE_GCC=any
We have recommended against USE_GCC=any for a while, and as of more
recently it was completely equivalent to USE_GCC=yes.
With (ancient versions of) GCC hardly available in the base system
of FreeBSD systems at this point, there's unlikely to be a use case
to reintroduce it, so remove the few remaining traces.
PR: 258015
-rw-r--r-- | Mk/bsd.gcc.mk | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Mk/bsd.gcc.mk b/Mk/bsd.gcc.mk index 5a8d5d20d4e6..b0d01006f68b 100644 --- a/Mk/bsd.gcc.mk +++ b/Mk/bsd.gcc.mk @@ -21,9 +21,6 @@ # If no arguments are specified, GCC is added as both a build dependency # and a run time dependency. # -# (USE_GCC=any is deprecated - and now an odd way to write USE_GCC=yes. -# Do *not* use! It will be removed shortly.) -# # # Examples: # USE_GCC= yes # port requires a current version of GCC @@ -68,8 +65,8 @@ IGNORE= bad target specification in USE_GCC; only "build" is supported .if defined(USE_GCC) && !defined(FORCE_BASE_CC_FOR_TESTING) -# Handle USE_GCC=yes and USE_GCC=any. -.if ${USE_GCC} == yes || ${USE_GCC} == any +# Handle USE_GCC=yes. +.if ${USE_GCC} == yes USE_GCC= ${GCC_DEFAULT}+ .endif |