commit | 340b1cf8f79cc9ea7232453e0052d2418c806103 | [log] [tgz] |
---|---|---|
author | Rob Landley <rob@landley.net> | Tue Sep 28 20:11:36 2021 -0500 |
committer | Rob Landley <rob@landley.net> | Tue Sep 28 20:11:36 2021 -0500 |
tree | 07822149eb996bd6fc9e117fcaa5d9dc09883caa | |
parent | a39df1343a42f810cde5a6f5ff446eb3ff9c8b8b [diff] |
The mac compiler can't optimize out unused functions. For some reason "configure" is explicitly NOT passing LDOPTIMIZE="-Wl,--gc-sections" to the mac build. I don't know why, but it means the linker includes unused functions in the binary, and thus complains about unused dependencies being missing.