meson c --buildtype release --strip -Db_lto=true -Dprebuilt_server=../scrcpy-server.jar --cross-file cross_file.txt

 

cross_file.txt:
[binaries]
c = 'aarch64-linux-gcc'
cpp = 'aarch64-linux-g++'
ar = 'aarch64-linux-ar'
strip = 'aarch64-linux-strip'
pkgconfig = '/home/root/workspace/rk3399/linuxsdk-friendlyelec/buildroot/output/rockchip_rk3399/host/bin/pkg-config'

[host_machine]
system = 'linux'
cpu_family = 'arm'
cpu = 'FP-ARMv8'
endian = 'little'

[build_machine]
system = 'linux'
cpu_family = 'x86_64'
cpu = 'i686'
endian = 'little'

 

相关文章:

  • 2021-07-15
  • 2021-05-06
  • 2021-12-11
  • 2021-08-02
  • 2021-12-24
  • 2021-11-06
猜你喜欢
  • 2022-12-23
  • 2021-08-25
相关资源
相似解决方案