[PATCH] Proper detection and handling of RHEL and variants
Rafael Espíndola via cfe-commits
cfe-commits at lists.llvm.org
Sat Mar 26 07:55:49 PDT 2016
- if (IsRedhat(Distro))
+ if (Distro == Fedora || Distro == RHEL7)
RHEL8 will probably use --no-add-needed.
Can you change this to "if (IsRedhat(Distro) && !old_rhel_distro) "?
On 22 March 2016 at 22:07, Michael Lampe via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
> - Don't consider "/etc/lsb-release" to be Ubuntu only.
> - Detect SL, too.
> - Only add "--no-add-needed" for RHEL7 (or Fedora), not for RHEL6 (that's
> what the compilers shipped with RHEL do).
> cfe-commits mailing list
> cfe-commits at lists.llvm.org
More information about the cfe-commits