mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
6b66d16116
gcc-wrapper). Useful for builds that call ld directly. svn path=/nixpkgs/trunk/; revision=363
12 lines
387 B
Bash
12 lines
387 B
Bash
export PATH=/usr/local/bin:/usr/bin:/bin
|
|
export SHELL=/bin/sh
|
|
|
|
. @BASEENV@/setup
|
|
|
|
export NIX_CFLAGS_COMPILE="-isystem @GLIBC@/include $NIX_CFLAGS_COMPILE"
|
|
export NIX_CFLAGS_LINK="-L@GLIBC@/lib $NIX_CFLAGS_LINK"
|
|
export NIX_LDFLAGS="-dynamic-linker @GLIBC@/lib/ld-linux.so.2 -rpath @GLIBC@/lib $NIX_LDFLAGS"
|
|
export NIX_CC=/usr/bin/gcc
|
|
export NIX_CXX=/usr/bin/g++
|
|
export NIX_LD=/usr/bin/ld
|