diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-31 11:27:45 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-08-01 07:34:04 +0100 |
commit | 6c4b21d7af209a2c6b9f365857a8fb395c83c58d (patch) | |
tree | fa4b3bdeeb37fd7136405398b88e0933d32d8319 | |
parent | cc21092c6d8563d5ec0ce3ba06a3735daa40fc1e (diff) | |
download | poky-6c4b21d7af209a2c6b9f365857a8fb395c83c58d.tar.gz |
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.
(From OE-Core rev: e742eef3e1016a29f744341c17d1b421d318b40f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-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() { | |||
202 | whitelist = (d.getVar("MULTILIB_OPTION_WHITELIST", True) or "").split() | 202 | whitelist = (d.getVar("MULTILIB_OPTION_WHITELIST", True) or "").split() |
203 | for i in tune_parameters['ccargs'].split(): | 203 | for i in tune_parameters['ccargs'].split(): |
204 | if i in whitelist: | 204 | if i in whitelist: |
205 | opts.append(i) | 205 | # Need to strip '-' from option |
206 | opts.append(i[1:]) | ||
206 | options.append(" ".join(opts)) | 207 | options.append(" ".join(opts)) |
207 | 208 | ||
208 | if tune_baselib == 'lib': | 209 | if tune_baselib == 'lib': |