diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2014-05-12 21:36:29 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-05-12 22:18:26 +0200 |
commit | a5dbc10a7fc1d707b277fd8a961ffb97a3e74af9 (patch) | |
tree | 87a688346581d084a0a00df09542db8ff6147041 /package | |
parent | 24e164403214847b6cb1993e9d3cd46ae86f64c7 (diff) | |
download | buildroot-a5dbc10a7fc1d707b277fd8a961ffb97a3e74af9.tar.gz buildroot-a5dbc10a7fc1d707b277fd8a961ffb97a3e74af9.zip |
libcec: fix build issue on AVR32
Fixes:
http://autobuild.buildroot.org/results/89d/89d8165b455cd7131e4c0729cec50dad8980ceb1/
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r-- | package/libcec/libcec-0002-no-psabi-warning.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/package/libcec/libcec-0002-no-psabi-warning.patch b/package/libcec/libcec-0002-no-psabi-warning.patch new file mode 100644 index 0000000000..bd6557e077 --- /dev/null +++ b/package/libcec/libcec-0002-no-psabi-warning.patch @@ -0,0 +1,22 @@ +Do not use -Wno-psabi warning, not available on old g++ + +AVR32 uses a very old g++ version, which does not implement the +-Wno-psabi warning flag. This patch simply removes this warning flag +from the libcec build. It can be dropped if only gcc 4.5+ versions are +supported in Buildroot. + +Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> + +Index: b/configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -130,7 +130,7 @@ + use_udev="no" + use_adapter_detection="yes" + use_lockdev="no" +-SUPPRESS_MANGLING_WARNINGS=" -Wno-psabi" ++SUPPRESS_MANGLING_WARNINGS="" + case "${host}" in + *-*-linux*) + ## search for udev if pkg-config was found |