diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2015-05-02 14:45:00 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-05-21 23:54:10 +0200 |
commit | d5f5a829fca647718072925a29371714b64d47ae (patch) | |
tree | d6580ffed71be9db7df11064f37f57b3f1706be1 /package/boost/0002-gcc.jam-compiler-options-fix.patch | |
parent | 7241aee4ed7d85659a0eb0f369d8a3a44ffc176e (diff) | |
download | buildroot-d5f5a829fca647718072925a29371714b64d47ae.tar.gz buildroot-d5f5a829fca647718072925a29371714b64d47ae.zip |
package/boost: bump to version 1.58.0
Add patch to fix build issues for mips and sh targets:
error: unrecognized command line option '-m32'
Fixes:
http://autobuild.buildroot.org/results/66c/66c3a868816dfe4bd4d0ffafec6988fd87a2c058/
http://autobuild.buildroot.net/results/ccd/ccd5c83963032ba49b1627b1dff39e34a9486943/
Patch send upstream:
https://github.com/boostorg/build/pull/76
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Tested-by: Gergely Imreh <imrehg@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/boost/0002-gcc.jam-compiler-options-fix.patch')
-rw-r--r-- | package/boost/0002-gcc.jam-compiler-options-fix.patch | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/package/boost/0002-gcc.jam-compiler-options-fix.patch b/package/boost/0002-gcc.jam-compiler-options-fix.patch new file mode 100644 index 0000000000..c64525000f --- /dev/null +++ b/package/boost/0002-gcc.jam-compiler-options-fix.patch @@ -0,0 +1,37 @@ +From a891e48ed0b647b7bf550ad1d179398b23d0726e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=B6rg=20Krause?= <joerg.krause@embedded.rocks> +Date: Sat, 2 May 2015 13:47:54 +0200 +Subject: [PATCH] gcc.jam compiler options fix +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Only PowerPC, SPARC, and x86 do support the -m32 and -m64 compiler options [1]. + +Rather then excluding all architectures not supporting these options as it is +done in commit c0634341d9ee2c02d3a55c91dafb988afc066c49 [2], include all +architectures that do support them. + +[1] https://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html +[2] https://github.com/boostorg/build/commit/c0634341d9ee2c02d3a55c91dafb988afc066c49 + +Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> +--- + src/tools/gcc.jam | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/tools/build/src/tools/gcc.jam b/tools/build/src/tools/gcc.jam +index db04534..fbe8ab0 100644 +--- a/tools/build/src/tools/gcc.jam ++++ b/tools/build/src/tools/gcc.jam +@@ -451,7 +451,7 @@ rule setup-address-model ( targets * : sources * : properties * ) + else + { + local arch = [ feature.get-values architecture : $(properties) ] ; +- if $(arch) != arm ++ if $(arch) = power || $(arch) = sparc || $(arch) = x86 + { + if $(model) = 32 + { +-- +2.3.7 |