3
0
Fork 0
forked from mirrors/nixpkgs

php: specify CXXFLAGS for macOS

Fixes #31059
This commit is contained in:
Christian Kjær 2017-11-07 14:54:10 +09:00 committed by Daiderd Jordan
parent 471175e0be
commit 233a0b3f36
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -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...