mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 20:42:56 +01:00
We have to correct the CC_OPT_* variable for these files and used to do so via phony pre-requisite for the corresponding object files because the correction had to take place after the variable initialization in import-lx_emul_common.inc and before the creation of the object files. However, this caused the objects to always rebuild. This commit fixes this issue by using Make's feature of target-specific variables instead. The drawback of this solution is that we can no longer override CC_OPT_* with a modification of its original value but instead have to override with a completely new value. This is because otherwise, Make would either complain about recursive assignment or produce an empty value. Ref #4519