I never used UE4, so I can't help you with the build arguments.
I'm presuming you're running Windows; have you set up the cross-compiler?
Yes, without that you get an error during compile.
https://docs.unrealengine.com/4.26/en-US/SharingAndReleasing/Linux/GettingStarte...
As you can see, documentation is extremely sparse.