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-20 09:59:31 +0000 |
commit | cef09e9c0e2701d9c77c40caabe0b521a87ddb35 (patch) | |
tree | f5d6273628ec8787f5ae30c1a5c7454f094080a5 /meta/recipes-devtools/gcc | |
parent | 4c13568fa490034cac1b4c863f3a1037a8c793ba (diff) | |
download | poky-cef09e9c0e2701d9c77c40caabe0b521a87ddb35.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
(From OE-Core rev: e176ab07d1afbb5d7e80d39d49b0f68738509c18)
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gcc')
-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 = "\ | |||
101 | --disable-bootstrap \ | 101 | --disable-bootstrap \ |
102 | --disable-libmudflap \ | 102 | --disable-libmudflap \ |
103 | --with-system-zlib \ | 103 | --with-system-zlib \ |
104 | --with-linker-hash-style=${LINKER_HASH_STYLE} \ | 104 | ${@'--with-linker-hash-style=${LINKER_HASH_STYLE}' if '${LINKER_HASH_STYLE}' else ''} \ |
105 | --enable-linker-build-id \ | 105 | --enable-linker-build-id \ |
106 | --with-ppl=no \ | 106 | --with-ppl=no \ |
107 | --with-cloog=no \ | 107 | --with-cloog=no \ |