Skip to content
Snippets Groups Projects
Commit 448976e0 authored by Rafael Espindola's avatar Rafael Espindola
Browse files

Proper detection and handling of RHEL and variants.

- 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).
- removed RHEL4 which is now four years past EOL and certainly incapable
  of building or running any recent version of llvm/clang.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@268914 91177308-0d34-0410-b5e6-96231b3b80d8
parent 2fcb4437
Branches
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment