mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Adding UCLIBC_SUSV4_LEGACY, otherwise we get this building gcc:
armv5tel-unknown-linux-gnueabi/libstdc++-v3/include/cstdio:133:11: error: '::tmpnam' has not been declared http://hydra.nixos.org/build/2644907 svn path=/nixpkgs/trunk/; revision=34226
This commit is contained in:
parent
d9fdfffef9
commit
d5a5a30ae0
@ -36,6 +36,7 @@ let
|
||||
archMakeFlag = if (cross != null) then "ARCH=${cross.arch}" else "";
|
||||
crossMakeFlag = if (cross != null) then "CROSS=${cross.config}-" else "";
|
||||
|
||||
# UCLIBC_SUSV4_LEGACY defines 'tmpnam', needed for gcc libstdc++ builds.
|
||||
nixConfig = ''
|
||||
RUNTIME_PREFIX "/"
|
||||
DEVEL_PREFIX "/"
|
||||
@ -44,6 +45,7 @@ let
|
||||
UCLIBC_HAS_RPC y
|
||||
DO_C99_MATH y
|
||||
UCLIBC_HAS_PROGRAM_INVOCATION_NAME y
|
||||
UCLIBC_SUSV4_LEGACY y
|
||||
KERNEL_HEADERS "${linuxHeaders}/include"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user