diff options
author | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-06-19 12:47:40 +0000 |
---|---|---|
committer | Sam Thursfield <sam.thursfield@codethink.co.uk> | 2017-06-19 12:47:40 +0000 |
commit | 7b915e733d6add7ecb8e08564604be6cb93f0c9e (patch) | |
tree | 238bc1b570d371124ab48457841a56aca8c0c7ce | |
parent | dc5d041481a66b733b933909ca6bdc34eddffcdc (diff) | |
download | definitions-7b915e733d6add7ecb8e08564604be6cb93f0c9e.tar.gz |
Allow building GCC 4.9 with GCC 6 or 7
This was patched in Baserock definitions 'master' already:
https://gitlab.com/baserock/definitions/commit/2bf01667c7ef1f79a6b94693bb796a457f837b2b
-rw-r--r-- | elements/gnu-toolchain/stage1-gcc.bst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elements/gnu-toolchain/stage1-gcc.bst b/elements/gnu-toolchain/stage1-gcc.bst index 4d201e33..430a5d37 100644 --- a/elements/gnu-toolchain/stage1-gcc.bst +++ b/elements/gnu-toolchain/stage1-gcc.bst @@ -51,7 +51,7 @@ config: armv7*) ARCH_FLAGS="--with-arch=armv7-a" ;; esac - cd o && ../configure \ + cd o && CXX="g++ -std=gnu++98" ../configure \ $ARCH_FLAGS \ --build=$(sh ../config.guess) \ --host=$(sh ../config.guess) \ |