From 212cc8fdcd23b79c14d23a4886885815135bd097 Mon Sep 17 00:00:00 2001 From: devsaurus Date: Tue, 22 Mar 2016 22:17:22 +0100 Subject: [PATCH 1/2] enable -std=gnu11 for u8glib and ucglib dir --- app/u8glib/Makefile | 2 ++ app/ucglib/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/app/u8glib/Makefile b/app/u8glib/Makefile index 72a951e7..7495a1d7 100644 --- a/app/u8glib/Makefile +++ b/app/u8glib/Makefile @@ -15,6 +15,8 @@ ifndef PDIR GEN_LIBS = u8glib.a endif +STD_CFLAGS=-std=gnu11 -Wimplicit + ############################################################# # Configuration i.e. compile options etc. # Target specific stuff (defines etc.) goes in here! diff --git a/app/ucglib/Makefile b/app/ucglib/Makefile index 843676ab..6a9c929b 100644 --- a/app/ucglib/Makefile +++ b/app/ucglib/Makefile @@ -15,6 +15,8 @@ ifndef PDIR GEN_LIBS = ucglib.a endif +STD_CFLAGS=-std=gnu11 -Wimplicit + ############################################################# # Configuration i.e. compile options etc. # Target specific stuff (defines etc.) goes in here! From 103cca303e8c8efa726c19abf15d7b498d1d422a Mon Sep 17 00:00:00 2001 From: devsaurus Date: Tue, 22 Mar 2016 22:23:13 +0100 Subject: [PATCH 2/2] Enable -std=gnu11 for tsl2561 dir --- app/tsl2561/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/app/tsl2561/Makefile b/app/tsl2561/Makefile index 34d6e7dc..7963bd5d 100644 --- a/app/tsl2561/Makefile +++ b/app/tsl2561/Makefile @@ -15,6 +15,7 @@ ifndef PDIR GEN_LIBS = tsl2561lib.a endif +STD_CFLAGS=-std=gnu11 -Wimplicit ############################################################# # Configuration i.e. compile options etc.