Logo
Explore Help
Sign In
public/nixpkgs
1
0
Fork 0
You've already forked nixpkgs
Code Issues Pull Requests Packages Projects Releases Wiki Activity
nixpkgs/pkgs/development/compilers/llvm/5/libc++/setup-hook.sh

7 lines
243 B
Bash
Raw Normal View History

treewide: Use pkgs/build-support/roles.bash to remove copy pasta Also fix some setup hooks that unnecessarily used environment hooks, which revolted in the same variable being modified too many times.
2018-05-07 13:07:19 -04:00
# See pkgs/build-support/setup-hooks/role.bash
getHostRole
lib{std,}c++: Fix setup hooks for cross
2018-05-03 17:52:11 -04:00
llvm: init 5.0
2017-09-15 19:38:38 -05:00
linkCxxAbi="@linkCxxAbi@"
*-wrapper; Switch from `infixSalt` to `suffixSalt` I hate the thing too even though I made it, and rather just get rid of it. But we can't do that yet. In the meantime, this brings us more inline with autoconf and will make it slightly easier for me to write a pkg-config wrapper, which we need.
2020-04-28 00:08:48 -04:00
export NIX_CXXSTDLIB_COMPILE${role_post}+=" -isystem @out@/include/c++/v1"
export NIX_CXXSTDLIB_LINK${role_post}=" -stdlib=libc++${linkCxxAbi:+" -lc++abi"}"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.23.8 Page: 713ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API