I am trying to downport mpd version 0.22.3 to LibreELEC 9.2.6
1. pull LibreELEC sources
2. Switched to 9.2.6
3. Build with PROJECT=RPi DEVICE=RPi2 ARCH=arm scripts/create_addon mpd - Fine
4. Changed packages/addons/service/mpd/package.mk to version from master package.mk
5. Rebuild - failed with error
Code
Build targets in project: 67
Found ninja-1.9.0 at /media/archive/src/LibreELEC.tv/build.LibreELEC-RPi2.arm-9. 2-devel/toolchain/bin/ninja
[1/432] Compiling C++ object 'src/tag/b545a07@@GenParseName@exe/GenParseName.cxx .o'.
FAILED: src/tag/b545a07@@GenParseName@exe/GenParseName.cxx.o
/media/archive/src/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/toolchain/bin /host-g++ -Isrc/tag/b545a07@@GenParseName@exe -Isrc/tag -I../src/tag -fdiagnosti cs-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c++17 -march=armv7ve -mtune=co rtex-a7 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -m float-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -Os -MD -MQ 'src/tag /b545a07@@GenParseName@exe/GenParseName.cxx.o' -MF 'src/tag/b545a07@@GenParseNam e@exe/GenParseName.cxx.o.d' -o 'src/tag/b545a07@@GenParseName@exe/GenParseName.c xx.o' -c ../src/tag/GenParseName.cxx
g++: error: unrecognized argument in option '-mabi=aapcs-linux'
g++: note: valid arguments to '-mabi=' are: ms sysv
g++: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
g++: error: unrecognized command line option '-mfloat-abi=hard'
g++: error: unrecognized command line option '-mfpu=neon-vfpv4'
[2/432] Compiling C++ object 'src/tag/b545a07@@tag@sta/Tag.cxx.o'.
[3/432] Compiling C object 'src/tag/b545a07@@GenParseName@exe/Names.c.o'.
FAILED: src/tag/b545a07@@GenParseName@exe/Names.c.o
/media/archive/src/LibreELEC.tv/build.LibreELEC-RPi2.arm-9.2-devel/toolchain/bin /host-gcc -Isrc/tag/b545a07@@GenParseName@exe -Isrc/tag -I../src/tag -fdiagnosti cs-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c11 -march=armv7ve -mtune=cort ex-a7 -mabi=aapcs-linux -Wno-psabi -Wa,-mno-warn-deprecated -mcpu=cortex-a7 -mfl oat-abi=hard -mfpu=neon-vfpv4 -fomit-frame-pointer -Wall -Os -MD -MQ 'src/tag/b 545a07@@GenParseName@exe/Names.c.o' -MF 'src/tag/b545a07@@GenParseName@exe/Names .c.o.d' -o 'src/tag/b545a07@@GenParseName@exe/Names.c.o' -c ../src/tag/Names.c
gcc: error: unrecognized argument in option '-mabi=aapcs-linux'
gcc: note: valid arguments to '-mabi=' are: ms sysv
gcc: warning: '-mcpu=' is deprecated; use '-mtune=' or '-march=' instead
gcc: error: unrecognized command line option '-mfloat-abi=hard'
gcc: error: unrecognized command line option '-mfpu=neon-vfpv4'
[4/432] Generating GitVersion.cxx with a custom command.
ninja: build stopped: subcommand failed.
FAILURE: scripts/build mpd has failed!
[123/123] [FAIL] build mpd
Display More
Ubuntu 18.04
Please advice how to tune config for proper build