Bug#757525: hardinfo: FTBFS with clang instead of gcc

2015-07-21 Thread gregor herrmann
On Tue, 21 Jul 2015 14:25:08 -0700, Martin Michlmayr wrote: > * gregor herrmann [2015-07-19 19:36]: > > Looks like this needs more changes. Adding "-std=gnu89" to Makefile* leads > > to: > Works fine for me when I add -std=gnu89 to Makefile manually to test, > but it seems that CFLAGS from debia

Bug#757525: hardinfo: FTBFS with clang instead of gcc

2015-07-21 Thread Martin Michlmayr
* gregor herrmann [2015-07-19 19:36]: > Looks like this needs more changes. Adding "-std=gnu89" to Makefile* leads to: Works fine for me when I add -std=gnu89 to Makefile manually to test, but it seems that CFLAGS from debian/rules is not used during the build process. -- Martin Michlmayr Linux

Bug#757525: hardinfo: FTBFS with clang instead of gcc

2015-07-19 Thread gregor herrmann
On Sat, 27 Jun 2015 15:03:07 -0400, Martin Michlmayr wrote: > * Arthur Marble [2014-08-08 17:05]: > > ++echo -e "\n#ifdef __clang__\n#define inline\n#endif" >> config.h > That patch seems like an ugly workaround to me. Wouldn't it be better > to either pass -std=gnu89 to the compiler (both GCC a