3
0
Fork 0
forked from mirrors/nixpkgs

libdevil: fix build in clang stdenvs

This commit is contained in:
Jude Taylor 2015-11-25 10:09:52 -08:00
parent d539d9c935
commit 8a779f3451

View file

@ -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 = ''