Adding Command Line Arguments to Android "make" Command?

bp2016
Tue, 24 Oct 2023 14:27:45 +0000
Platform & Builds

Hello,

Does anyone know if it is possible to add command line arguments to the Android “make” command? It seems like maybe this would be done through UPL somehow, but I’m not sure.

My game is crashing on certain Android 10 devices due to reading code from execute-only memory (XOM).

This page describes how XOM can be disabled:

https://source.android.com/docs/security/test/execute-only-memory#disabling

Specifically, it says, " You can disable execute-only binaries globally by passing ENABLE_XOM=false to your make command", as follows:

make -j ENABLE_XOM=false

Can anyone point me in the right direction on how to do this for an Unreal Engine game?