Setting up ardupilot for rpi running android OS

I want to setting up ardupilot for the navio2 board on rpi3 running android9 OS so i had follow the tuto on how to build ardupilot from source but i got a difficulties when lunching the binary executable ,
I want to ask how to set linker flags .