This repository has been archived by the owner on Oct 25, 2023. It is now read-only.
Add flag-sensitive build job helper for FFI code #126
Labels
enhancement
New feature or request
Milestone
I was trying to build a project that uses the FFI and there was a compilation error telling me to add
-fPIC
as a parameter. I tried to add it in many ways, including the right one: in the array of flags. Either way didn't work.Turns out I just had to do
lake clean
before tryinglake build
again, which is a bit strange because I was expectinglake build
to notice that I had a different build setup.For more context: https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/C.20FFI.20usage/near/299865961
The text was updated successfully, but these errors were encountered: