Fix build with clang by passing -Wno-error=format-nonliteral to CFLAGS.

breakage reported by espie@
ok jasper@
This commit is contained in:
ajacoutot 2017-04-23 21:45:58 +00:00
parent 438138729a
commit 425f309918

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.146 2017/04/17 11:42:20 jasper Exp $
# $OpenBSD: Makefile,v 1.147 2017/04/23 21:45:58 ajacoutot Exp $
COMMENT= GNOME document viewer
@ -59,6 +59,9 @@ CONFIGURE_ARGS += --disable-browser-plugin
# Not much point in installing systemd service files
FAKE_FLAGS += systemd_user_in_files=""
# fix build with clang
CFLAGS += -Wno-error=format-nonliteral
FLAVORS= light
FLAVOR?=