commit | 82a92743fcbaf1f88b05f31ab8d2f7093157aad1 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Tue Mar 09 10:08:05 2021 +0100 |
committer | Willy Tarreau <w@1wt.eu> | Tue Mar 09 10:09:43 2021 +0100 |
tree | 5a5fcc7e368869b49f49d843504176520dcae4cd | |
parent | b7e0c633e89fabf04966f4ac14d5902d96b8c7a6 [diff] |
BUILD: bug: refine HA_LINK_ERROR() to only be used on gcc and derivatives TCC happens to define __OPTIMIZE__ at -O2 but doesn't proceed with dead code elimination, resulting in ha_free() to always reference the link error symbol. Let's condition this test on __GCC__ which others like Clang also define.