mirror of
https://git.sr.ht/~eliasnaur/gio
synced 2026-07-07 18:35:34 +00:00
app/internal/window: move -Werror from LDFLAGS to CFLAGS
Discovered by the builders, yay: + gogio -target android ./kitchen gogio: go build -ldflags=-w -s -buildmode=c-shared -o /tmp/gogio-485830478/jni/arm64-v8a/libgio.so ./kitchen failed: go build gioui.org/app/internal/window: invalid flag in #cgo LDFLAGS: -Werror (https://builds.sr.ht/~eliasnaur/job/101366) Signed-off-by: Elias Naur <mail@eliasnaur.com>
This commit is contained in:
@@ -3,7 +3,8 @@
|
|||||||
package window
|
package window
|
||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo LDFLAGS: -Werror -landroid
|
#cgo CFLAGS: -Werror
|
||||||
|
#cgo LDFLAGS: -landroid
|
||||||
|
|
||||||
#include <android/native_window_jni.h>
|
#include <android/native_window_jni.h>
|
||||||
#include <android/configuration.h>
|
#include <android/configuration.h>
|
||||||
|
|||||||
Reference in New Issue
Block a user