Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / glibc / locales-builder.sh
blob27894b09b91ce11f9c7295ecd4551575bef0ecb7
1 if [ -e "$NIX_ATTRS_SH_FILE" ]; then . "$NIX_ATTRS_SH_FILE"; elif [ -f .attrs.sh ]; then . .attrs.sh; fi
2 # Glibc cannot have itself in its RPATH.
3 export NIX_NO_SELF_RPATH=1
5 source $stdenv/setup
7 postConfigure() {
8 # Hack: get rid of the `-static' flag set by the bootstrap stdenv.
9 # This has to be done *after* `configure' because it builds some
10 # test binaries.
11 export NIX_CFLAGS_LINK=
12 export NIX_LDFLAGS_BEFORE=
14 export NIX_DONT_SET_RPATH=1
15 unset CFLAGS
18 genericBuild