forked from joejulian/gio
app/internal: consolidate CFLAGS and move -Werror to #cgo directives
Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user