Don't support or build static C++ libraries for Fuchsia.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM. The nit below is orthogonal to this change.
lib/Driver/ToolChains/Fuchsia.cpp | ||
---|---|---|
112 ↗ | (On Diff #109255) | Shouldn't -lm be conditionalized on ShouldLinkCXXStdlib too? OTOH, -lm is a no-op on Fuchsia so perhaps we should just drop it. On the third hand, we might separate libm from libc in the future so perhaps it's better to leave it. |
lib/Driver/ToolChains/Fuchsia.cpp | ||
---|---|---|
112 ↗ | (On Diff #109255) | I looked at all the other drivers and they all add -lm unconditionally, I'm not sure if it's just a copypasta or if there's some other reason behind it. I also thought about removing it altogether but arrived to the same conclusion as you did. |