gnu: clang: Allow 'clang' to link executables.
commitfd6ae1b9836ffe74105f26930d101d1297849740
authorLudovic Courtès <ludo@gnu.org>
Fri, 19 Jun 2015 15:18:03 +0000 (19 17:18 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 19 Jun 2015 15:23:48 +0000 (19 17:23 +0200)
tree16c1a0ba29c5a5883b88f186148ecefc3f91c7af
parentef11ac87013a67f2c4454adf7d477a5c602a14b3
gnu: clang: Allow 'clang' to link executables.

* gnu/packages/patches/clang-libc-search-path.patch: New file.
* gnu-system.am (dist_patch_DATA): Add it.
* gnu/packages/llvm.scm (clang-from-llvm)[source]: Use it.
  [inputs]: Add "gcc-lib".
  [arguments]. Add -DGCC_INSTALL_PREFIX and -DC_INCLUDE_DIRS to
  #:configure-flags.  Add #:phases argument.
gnu-system.am
gnu/packages/llvm.scm
gnu/packages/patches/clang-libc-search-path.patch [new file with mode: 0644]