nixpkgs/pkgs/stdenv-linux/setup-nativetools.sh

10 lines
307 B
Bash
Raw Normal View History

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++