[Buildroot] [PATCH 1/1] domoticz: fix build with gcc <= 4.7
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Thu Sep 20 21:50:38 UTC 2018
Hello,
On Mon, 17 Sep 2018 18:55:47 +0200, Fabrice Fontaine wrote:
> sleep_for is not always defined with gcc <= 4.7, see
> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52680
>
> To fix this issue, add -D_GLIBCXX_USE_NANOSLEEP if gcc version is lower
> than 4.8
First comment in the bug report says:
"""
Don't define that manually, you should configure gcc with
--enable-libstdccxx-time instead.
"""
So I'm not sure enthusiastic with going in this direction. What about
making domoticz depend on gcc >= 4.8 ?
Best regards,
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
More information about the buildroot
mailing list