mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-08-02 07:27:49 +00:00
RPi.GPIO: Fix compilation with gcc10
This commit is contained in:
parent
d1e3bf7c75
commit
9bba2d7353
@ -15,6 +15,7 @@ PKG_TOOLCHAIN="manual"
|
||||
pre_configure_target() {
|
||||
export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr"
|
||||
export LDSHARED="$CC -shared"
|
||||
export CFLAGS="$CFLAGS -fcommon"
|
||||
export CPPFLAGS="$TARGET_CPPFLAGS -I${SYSROOT_PREFIX}/usr/include/$PKG_PYTHON_VERSION"
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user