Skip to content

Commit 3e97f28

Browse files
committed
Add -Wshadow, -march cflags, switch to C11
1 parent bd169ea commit 3e97f28

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

darwin.mk

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
CFLAGS = -fPIC -Wall -Werror -Wunused -Wextra -O0 -g -std=gnu11
1+
CFLAGS = -O0 -g -std=c11 -fPIC -march=native -Wall -Wextra -Wunused
2+
CFLAGS += -Werror -Wshadow
23
CFLAGS += -fprofile-arcs -ftest-coverage
34
LDFLAGS = -dynamiclib --coverage
45
LDFLAGS += -framework CoreFoundation -framework IOKit

0 commit comments

Comments
 (0)