diff options
author | Khem Raj <raj.khem@gmail.com> | 2018-03-16 20:40:32 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-03-19 23:05:00 +0000 |
commit | e176ab07d1afbb5d7e80d39d49b0f68738509c18 (patch) | |
tree | 8a07de1ada6a37767eb6cc621c2f3628d94a1753 | |
parent | eaa35d43dc1490f53aa1aece948d1542048460b6 (diff) | |
download | openembedded-core-contrib-e176ab07d1afbb5d7e80d39d49b0f68738509c18.tar.gz |
gcc: Do not use --with-linker-hash-style if LINKER_HASH_STYLE is empty
We allow to set LINKER_HASH_STYLE to be empty so this would fail
since --with-linker-hash-style needs an argument and cant be empty
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r-- | meta/recipes-devtools/gcc/gcc-7.3.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/gcc/gcc-7.3.inc b/meta/recipes-devtools/gcc/gcc-7.3.inc index b0cba27df2..d968c322d2 100644 --- a/meta/recipes-devtools/gcc/gcc-7.3.inc +++ b/meta/recipes-devtools/gcc/gcc-7.3.inc @@ -101,7 +101,7 @@ EXTRA_OECONF_BASE = "\ --disable-bootstrap \ --disable-libmudflap \ --with-system-zlib \ - --with-linker-hash-style=${LINKER_HASH_STYLE} \ + ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \ --enable-linker-build-id \ --with-ppl=no \ --with-cloog=no \ |