mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-04 17:05:38 +00:00
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