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
@@ -9,6 +9,7 @@ import (
)
/*
#cgo CFLAGS: -Werror
#cgo linux LDFLAGS: -lGLESv2 -ldl
#cgo darwin,!ios CFLAGS: -DGL_SILENCE_DEPRECATION
#cgo darwin,!ios LDFLAGS: -framework OpenGL