Skip to content

Revert "Pass preprocessor options to C compiler when building foreign C files (#16737)"

Matthew Pickering requested to merge wip/revert-optP into master

This reverts commit 1c18d3b4.

-optP should pass options to the preprocessor, that might be a very different program to the C compiler, so passing the options to the C compiler is likely to result in -optP being useless.

Fixes #17185 (closed) and #21291 (closed)

Merge request reports