소스 검색

enable -std=gnu11 for u8glib and ucglib dir

devsaurus 8 년 전
부모
커밋
212cc8fdcd
2개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      app/u8glib/Makefile
  2. 2 0
      app/ucglib/Makefile

+ 2 - 0
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!

+ 2 - 0
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!