forked from mirrors/nixpkgs
libdevil: fix build in clang stdenvs
This commit is contained in:
parent
d539d9c935
commit
8a779f3451
|
@ -23,6 +23,8 @@ stdenv.mkDerivation rec {
|
|||
preConfigure = ''
|
||||
sed -i 's, -std=gnu99,,g' configure
|
||||
sed -i 's,malloc.h,stdlib.h,g' src-ILU/ilur/ilur.c
|
||||
'' + stdenv.lib.optionalString stdenv.cc.isClang ''
|
||||
sed -i 's/libIL_la_CXXFLAGS = $(AM_CFLAGS)/libIL_la_CXXFLAGS =/g' lib/Makefile.in
|
||||
'';
|
||||
|
||||
postConfigure = ''
|
||||
|
|
Loading…
Reference in a new issue