mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-24 22:02:23 +01:00
In LLVM, CLANG_DEFAULT_PIE_ON_LINUX is [configurable](https://github.com/llvm/llvm-project/blob/main/clang/test/CMakeLists.txt#L8), so change lowering to specify a value. Also, adjust how the target is set so that function_decl.carbon isn't trying to overload every flag, and so that the target isn't forgotten elsewhere. This is fixing issues introduced by #5427; note #5520 is also a related fix. --------- Co-authored-by: Richard Smith <richard@metafoo.co.uk>