From 0d872bb6168a19548e673f148d62c3830cb50d49 Mon Sep 17 00:00:00 2001
From: Vincent Dupont <vincent@otakeys.com>
Date: Thu, 12 Apr 2018 09:55:52 +0200
Subject: [PATCH] pkg/spiffs: remove c11 dependency

---
 pkg/spiffs/Makefile        | 2 --
 pkg/spiffs/Makefile.spiffs | 3 +++
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/pkg/spiffs/Makefile b/pkg/spiffs/Makefile
index 7de6d0c840..4fd62bdb01 100644
--- a/pkg/spiffs/Makefile
+++ b/pkg/spiffs/Makefile
@@ -3,8 +3,6 @@ PKG_URL=https://github.com/pellepl/spiffs.git
 PKG_VERSION=287148c46587089c4543a21eef2d6e9e14b88364
 PKG_LICENSE=MIT
 
-CFLAGS += -std=c11
-
 .PHONY: all
 
 all: git-download
diff --git a/pkg/spiffs/Makefile.spiffs b/pkg/spiffs/Makefile.spiffs
index 4e8962d731..1cb6ab8c0b 100644
--- a/pkg/spiffs/Makefile.spiffs
+++ b/pkg/spiffs/Makefile.spiffs
@@ -1,3 +1,6 @@
 MODULE := spiffs
 
+# Disable 'ISO C99 doesn’t support unnamed structs/unions [-Werror=pedantic]'
+CFLAGS += -Wno-pedantic
+
 include $(RIOTBASE)/Makefile.base
-- 
GitLab