gcc-multilib-config: Tweak naming of options to match gcc's expectations
PATCH 1/1 gcc-multilib-config: Tweak naming of options to match gcc's expectations
gcc itself does not add the '-' of options to its multilib configuration. We should follow its example.
Signed-off-by Richard Purdie <[email protected]>
meta/recipes-devtools/gcc/gcc-multilib-config.inc +2 -1
@@ -208,7 +208,8 @@ python gcc_multilib_setup() { whitelist = (d.getVar("MULTILIB_OPTION_WHITELIST", True) or "").split() for i in tune_parameters['ccargs'].split(): if i in whitelist: - opts.append(i) + # Need to strip '-' from option + opts.append(i[1:]) options.append(" ".join(opts)) if tune_baselib == 'lib':