diff --git a/ports/psoc6/Makefile b/ports/psoc6/Makefile index 419c6d2a792c..62089862189d 100644 --- a/ports/psoc6/Makefile +++ b/ports/psoc6/Makefile @@ -57,7 +57,6 @@ CFLAGS_CORTEX_M4 = -mthumb -mtune=cortex-m4 -mcpu=cortex-m4 -msoft-float -fsingl # -D_XOPEN_SOURCE=700 : makes sure the setenv/unsetenv headers are included CFLAGS = $(INC) -Wall -Werror $(CFLAGS_CORTEX_M4) $(COPT) -std=c11 -D_XOPEN_SOURCE=700 -Wno-error=double-promotion -Wno-error=overflow -#CFLAGS = $(INC) -Wall -Werror -std=c99 $(CFLAGS_CORTEX_M4) $(COPT) LDFLAGS = -Wl,--cref -Wl,--gc-sections