Select C 2011 standard in Makefile.conf
authorEdouard Tisserant <edouard@pep-project.org>
Fri, 29 Sep 2017 11:50:37 +0200
changeset 2115f8608d3ac0c2
parent 2114 6fea36776f49
child 2116 aa02b5fd4f00
Select C 2011 standard in Makefile.conf
Makefile.conf
     1.1 --- a/Makefile.conf	Thu Sep 28 00:22:58 2017 +0200
     1.2 +++ b/Makefile.conf	Fri Sep 29 11:50:37 2017 +0200
     1.3 @@ -70,11 +70,11 @@
     1.4  
     1.5  ######### C #########
     1.6  ifeq ($(BUILD_FOR),Linux)
     1.7 -    CC=gcc -std=c99 -pthread
     1.8 +    CC=gcc -std=c11 -pthread
     1.9  else ifeq ($(BUILD_FOR),Darwin)
    1.10      # clang issues a warning when "-pthread" is used for linking.
    1.11      # So, include it in CFLAGS, and not in CC
    1.12 -    CC=clang -std=c99
    1.13 +    CC=clang -std=c11
    1.14  endif
    1.15  
    1.16  ifeq ($(BUILD_FOR),Linux)