Fix build error as following:
PATCH 1/1 Fix build error as following:
From: Lei Maohui <[email protected]>
| g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’? | g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’? | g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’? | g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’? | g++: error: unrecognized command-line option ‘-fcanon-prefix-map’; did you mean ‘-fmacro-prefix-map=’?
Signed-off-by Lei Maohui <[email protected]>
--- recipes-core/openjdk/openjdk-8-common.inc | 3 +++ 1 file changed, 3 insertions(+)
recipes-core/openjdk/openjdk-8-common.inc +3 -0
@@ -26,6 +26,9 @@ SRC_URI = "\ ${PATCHES_URI} \ " +export TARGET_CFLAGS +export TARGET_CXXFLAGS + do_configure:prepend () { export TOPDIR=${S} sed -i 's#\$TOPDIR#${S}#g' ${S}/common/autoconf/configure.ac
Signature · 1 line
2.34.1