Merge pull request #31348 from Tehnix/master

PHP: Specify CXXFLAGS for macOS, fixes #31059
This commit is contained in:
Daiderd Jordan 2017-11-07 22:27:57 +01:00 committed by GitHub
commit 80ae60a34b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -20,10 +20,12 @@ let
enableParallelBuilding = true;
nativeBuildInputs = [ pkgconfig ];
nativeBuildInputs = [ pkgconfig ];
buildInputs = [ flex bison ]
++ lib.optional stdenv.isLinux systemd;
CXXFLAGS = lib.optional stdenv.cc.isClang "-std=c++11";
flags = {
# much left to do here...