Please sign in to comment.
cmake: toolchain_cc_imacros: don't use the long argument form
Commit f57ba2d ("cmake: toolchain_cc_imacros: don't use space separated arguments") moved toolchain_cc_imacros() to using the long argument format in order to avoid spaces that CMake uses to delimitate and deduplicate arguments. It seems that xcc doesn't support the --imacros=foo form. However it does support the short "combined" -imacrosfoo form (without space). So let's use that instead and document the caviat. Signed-off-by: Nicolas Pitre <email@example.com>
- Loading branch information...
Showing with 7 additions and 1 deletion.