git.iko.soy/typeable/nixpkgs
on master help sign in
Revert "Fix icu4c expression for latest gcc (fixes #2341)"

This reverts commit d393c6c53803a6c1d61fa5e58e283aaa4beba7b8. The commit removed C++11 compatibility on darwin by overriding the --std=c++0x flag in CXXFLAGS. Which lead to a failing build of mapnik, which depends on the move constructors being available in the icu-lib. Since it builds fine without the headerpad_max_install_names flag, we simply undo the change that introduced this flag.

commit334a1a6f8ae550aa43c2562ee0f8abbbdea61548 authorJosef Kemetmueller <josef.kemetmueller@aon.at> dateSun 13 Nov 2016, 16:15 (10 years ago) parentc2b9404
1 file changed−3
pkgs/development/libraries/icu/default.nix−3
pkgs/development/libraries/icu/default.nix−3
@@ -16,9 +16,6 @@ stdenv.mkDerivation ({
1616 outputs = [ "out" "dev" ];
1717 outputBin = "dev";
1818
19− makeFlags = stdenv.lib.optionalString stdenv.isDarwin
20− "CXXFLAGS=-headerpad_max_install_names";
21−
2219 # FIXME: This fixes dylib references in the dylibs themselves, but
2320 # not in the programs in $out/bin.
2421 buildInputs = stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;