package/daemon: fix build without BR2_ENABLE_RUNTIME_DEBUG
authorBaruch Siach <baruch@tkos.co.il>
Thu, 3 Jun 2021 12:22:33 +0000 (15:22 +0300)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 13 Jun 2021 09:57:47 +0000 (11:57 +0200)
commitea02ac3e061b36da1bfc0277b1f84126cd96328f
tree6bb9d278c49d9b16d0f37e3f386d9e777df778f2
parent5123d665186ef77c8ce001b6718abecda4ef7250
package/daemon: fix build without BR2_ENABLE_RUNTIME_DEBUG

Since commit 5a8c50fe05afa ("core: enable 'NDEBUG' unless
BR2_ENABLE_RUNTIME_DEBUG is set"), NDEBUG is defined in compile flags
when BR2_ENABLE_RUNTIME_DEBUG is not enabled. Add a patch to make the
daemon package build with NDEBUG as it should.

Fixes:
http://autobuild.buildroot.net/results/995ef1b5d9fce05881b2a41025916fa45b68a9bc/
http://autobuild.buildroot.net/results/98cd9fb348d6cfe676667205b1f79ec2cd1490de/
http://autobuild.buildroot.net/results/a7c51e6f59656d8c1e1c82a7129a670a68eb8a62/

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/daemon/0002-Fix-build-with-NDEBUG-defined.patch [new file with mode: 0644]