qt4: another attempt to fix build on Darwin
This commit is contained in:
parent
2ba076e99c
commit
45fcefd4be
@ -152,7 +152,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = false;
|
||||
|
||||
NIX_CFLAGS_COMPILE = "-std=gnu++98"
|
||||
NIX_CFLAGS_COMPILE =
|
||||
optionalString stdenv.isLinux "-std=gnu++98" # gnu++ in (Obj)C flags is no good on Darwin
|
||||
+ optionalString (stdenv.isFreeBSD || stdenv.isDarwin)
|
||||
" -I${glib.dev}/include/glib-2.0 -I${glib.out}/lib/glib-2.0/include"
|
||||
+ optionalString stdenv.isDarwin " -I${libcxx}/include/c++/v1";
|
||||
|
Loading…
Reference in New Issue
Block a user