3467585b1b
* Add the $gcc/lib to the library path in the Nixified stdenv. (This include libgcc.so and libstdc++.so.) svn path=/nixpkgs/trunk/; revision=340
10 lines
307 B
Bash
10 lines
307 B
Bash
export PATH=/usr/local/bin:/usr/bin:/bin
|
|
export SHELL=/bin/sh
|
|
|
|
. @BASEENV@/setup
|
|
|
|
export NIX_CFLAGS="-isystem @GLIBC@/include $NIX_CFLAGS"
|
|
export NIX_LDFLAGS="-L@GLIBC@/lib -Wl,-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++
|