Skip to contentSkip to conversation

gcc: Workaround for compiler flag mismatch

RFC PATCH New Mark Hatle 1 participant 1 message May 31, 2013

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

RFC PATCH 1/1 gcc: Workaround for compiler flag mismatch

When cross compiling the target compiler, both the cross-compiler and the host compiler are used. However, the -W options used were discovered from the cross-compiler and may be incompatible with the host compiler.

---
 meta/recipes-devtools/gcc/gcc-4.8.inc              |  1 +
 .../gcc/gcc-4.8/gcc-4.8-build-args.patch           | 51 ++++++++++++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 meta/recipes-devtools/gcc/gcc-4.8/gcc-4.8-build-args.patch
meta/recipes-devtools/gcc/gcc-4.8.inc +1 -0
index a9786da..80bd02c 100644
@@ -66,6 +66,7 @@ SRC_URI = "${GNU_MIRROR}/gcc/gcc-${PV}/gcc-${PV}.tar.bz2 \
 	   file://0034-Use-the-multilib-config-files-from-B-instead-of-usin.patch \
 	   file://0035-wcast-qual-PR-55383.patch \
 	   file://gcc-4.8-PR56797.patch \
+	   file://gcc-4.8-build-args.patch \
 	  "
 SRC_URI[md5sum] = "e6040024eb9e761c3bea348d1fa5abb0"
 SRC_URI[sha256sum] = "b037fe5132b71ecad2ea7141ec92292b5d32427bf90fd90cde432b1d5abacc2c"
meta/recipes-devtools/gcc/gcc-4.8/gcc-4.8-build-args.patch new file +51 -0

51 lines not on this page · raw message

Signature · 1 line
1.8.3.rc1.25.g423ecb0