Remove -pedantic to allow 0b0000101 style (GCC extension)
This commit is contained in:
2
Makefile
2
Makefile
@ -1,7 +1,7 @@
|
|||||||
TARGET = mgos_i2c
|
TARGET = mgos_i2c
|
||||||
CC = gcc
|
CC = gcc
|
||||||
# CFLAGS = -g -O -Wall -Wextra -std=c89 -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
|
# CFLAGS = -g -O -Wall -Wextra -std=c89 -pedantic -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
|
||||||
CFLAGS = -g -O2 -pedantic -Werror -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
|
CFLAGS = -g -O2 -Werror -Wall -Wextra -Wmissing-prototypes -Wstrict-prototypes -Wold-style-definition
|
||||||
LINKER = gcc
|
LINKER = gcc
|
||||||
LFLAGS = -O -Wall -I. -lm
|
LFLAGS = -O -Wall -I. -lm
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user