diff options
| author | Jonathan Liu <net147@gmail.com> | 2016-06-08 00:57:13 +1000 |
|---|---|---|
| committer | Andrei Gherzan <andrei@gherzan.ro> | 2016-06-14 16:27:18 +0100 |
| commit | 0dbf569173178810c17c6fe1a2e1b29b716ce90f (patch) | |
| tree | 4913c678974fb540ca86880ce8bd5f47109462a4 /classes/linux-raspberrypi-base.bbclass | |
| parent | ffddbad97c67ae20b09284096276d85e7a6a66e1 (diff) | |
| download | meta-raspberrypi-0dbf569173178810c17c6fe1a2e1b29b716ce90f.tar.gz | |
omxplayer: fix compilation with GCC 6
Specifying -isystem${STAGING_DIR_HOST}/usr/include in INCLUDES gives:
In file included from utils/PCMRemap.cpp:26:0:
.../build/tmp/sysroots/raspberrypi2/usr/include/c++/6.1.1/cstdlib:75:25: fatal error: stdlib.h: No such file or directory
#include_next <stdlib.h>
^
compilation terminated.
Makefile:44: recipe for target 'utils/PCMRemap.o' failed
To resolve this, /usr/include shouldn't be specified as it is already a
default include path relative to the sysroot.
See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70129.
Signed-off-by: Jonathan Liu <net147@gmail.com>
Diffstat (limited to 'classes/linux-raspberrypi-base.bbclass')
0 files changed, 0 insertions, 0 deletions
