Author: viric Date: Thu May 24 19:12:36 2012 New Revision: 34226 URL: https://nixos.org/websvn/nix/?rev=34226&sc=1
Log: 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 Modified: nixpkgs/trunk/pkgs/os-specific/linux/uclibc/default.nix Modified: nixpkgs/trunk/pkgs/os-specific/linux/uclibc/default.nix ============================================================================== --- nixpkgs/trunk/pkgs/os-specific/linux/uclibc/default.nix Thu May 24 19:02:27 2012 (r34225) +++ nixpkgs/trunk/pkgs/os-specific/linux/uclibc/default.nix Thu May 24 19:12:36 2012 (r34226) @@ -36,6 +36,7 @@ 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 @@ UCLIBC_HAS_RPC y DO_C99_MATH y UCLIBC_HAS_PROGRAM_INVOCATION_NAME y + UCLIBC_SUSV4_LEGACY y KERNEL_HEADERS "${linuxHeaders}/include" ''; _______________________________________________ nix-commits mailing list [email protected] http://lists.science.uu.nl/mailman/listinfo/nix-commits
