commit | 7b00e31509c46d70ddc55189ebf22d691cbea266 | [log] [tgz] |
---|---|---|
author | Olivier Houchard <cognet@ci0.org> | Fri Mar 05 16:42:14 2021 +0100 |
committer | Olivier Houchard <cognet@ci0.org> | Fri Mar 05 16:58:56 2021 +0100 |
tree | 801e4f4426da6d25b1968eb112712bc820190db4 | |
parent | 249f0562cf2654488100d83d66c73902a2b1eb6c [diff] |
BUILD: Fix build when using clang without optimizing. ha_free() uses code that attempts to set a non-existant variable to provoke a link-time error, with the expectation that the compiler will not omit that if the code is unreachable. However, clang will emit it when compiling with no optimization, so only do that if __OPTIMIZE__ is defined.