app/internal: consolidate CFLAGS and move -Werror to #cgo directives

Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
Elias Naur
2019-10-28 13:30:51 +01:00
parent ddba67cc90
commit 439d3e652c
8 changed files with 4 additions and 8 deletions
-1
View File
@@ -126,7 +126,6 @@ func compileAndroid(tmpDir string, tools *androidTools, bi *buildInfo) (err erro
"GOARCH="+a,
"CGO_ENABLED=1",
"CC="+clang,
"CGO_CFLAGS=-Werror",
)
builds.Go(func() error {
_, err := runCmd(cmd)