Build sphinxsearch using the old c++98 standard (#320492)
This commit is contained in:
@@ -31,13 +31,7 @@ stdenv.mkDerivation rec {
|
||||
expat
|
||||
];
|
||||
|
||||
CXXFLAGS = lib.concatStringsSep " " (lib.optionals stdenv.isDarwin [
|
||||
# see upstream bug: http://sphinxsearch.com/bugs/view.php?id=2578
|
||||
# workaround for "error: invalid suffix on literal
|
||||
"-Wno-reserved-user-defined-literal"
|
||||
# workaround for "error: non-constant-expression cannot be narrowed from type 'long' to 'int'"
|
||||
"-Wno-c++11-narrowing"
|
||||
]);
|
||||
CXXFLAGS = "-std=c++98";
|
||||
|
||||
meta = {
|
||||
description = "Open source full text search server";
|
||||
|
||||
Reference in New Issue
Block a user