Hi, LibreELEC devs,
I have successfully compile LibreELEC(32bit) for PineH64 successfully. It's running pretty well.
When I try building aarch64 version, it failed at pycryptodome:
Code
building 'Crypto.Hash.MD2' extension Thome/sbbg/LibreELEC.tv/build. LibreELEC-H6.aarch64-9.80-devel/toolchain/bin/aarch64-libreelec-linux-grueabi-gcc-Wno-unused-result-Wsign-compare DNDEBUG -9-fwrapv -03 -Wall -march-native -02 -Wali -pipe -I/home/sbbg/LibreELEC.tv/build. LibreELEC-H6.aarch64-9.88-devel/toolchair include inof ormat-security -marchnative -02 -Wall -pipe -I/home/sbbg/LibreELEC.tv/build. LibreELEC-H6.aarch64-9.80-devel/toolchain include-no-format-security pycryptodome (target) manual
-march-armv8-arcrc+crypto -mabi-lp64 -Wno-psabi -mtune-cortex-a53 -Wall -pipe -02 -fomit-frame-pointer -FPIC -DPYCRYPTOLLITTLE.ENDIAN -OSYS BUS 4-DLTC.NO ASM -Isrc/ -1/home/sbbg/LibreELEC.tv/build.LibreELEC-H6.aarch64-9.80-devel/toolchain aarch64-libreelec-linux-gruedbi/sysroot/usr/include /python3.7 -C src/MD2.C -o build/temp.linux-x86_64-3.7/src/MD2.0 Assembler messages:
Error: unknown architecture 'native
Error: unrecognized option march native
So do I have to edit the Makefile or something?
Or is there other recommeded way to modify CFLAGS for LibreELEC build system?
Thank you.