From c83d5804e6149ba806c6de4688a48a9147c005c7 Mon Sep 17 00:00:00 2001 From: kmos Date: Sun, 16 Jan 2022 11:02:55 +0000 Subject: [PATCH] Fix build on sparc64 by doing the usual c99 fix --- editors/editorconfig-core-c/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/editors/editorconfig-core-c/Makefile b/editors/editorconfig-core-c/Makefile index 8ca683d2ddc..57987b7b2db 100644 --- a/editors/editorconfig-core-c/Makefile +++ b/editors/editorconfig-core-c/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.3 2021/10/30 04:23:02 bcallah Exp $ +# $OpenBSD: Makefile,v 1.4 2022/01/16 11:02:55 kmos Exp $ COMMENT = library for IDE consistency CATEGORIES = editors x11 @@ -25,4 +25,9 @@ CONFIGURE_ARGS += -DBUILD_DOCUMENTATION=OFF NO_TEST = Yes +.include +.if !${PROPERTIES:Mclang} +CFLAGS += -std=gnu99 +.endif + .include