diff options
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-multilib-config.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-multilib-config.inc b/meta/recipes-devtools/gcc/gcc-multilib-config.inc index 8c07c2d5f8..67c33f8a96 100644 --- a/meta/recipes-devtools/gcc/gcc-multilib-config.inc +++ b/meta/recipes-devtools/gcc/gcc-multilib-config.inc @@ -202,7 +202,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': |