Illegal option -o pipefail

I'm using termux and a project git to compile a source code git android apk the code is in command bash when i run the following command it's indicated illegal option -o pipefail.it's the output when I run the command