mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-08-06 11:17:51 +00:00
Fix Issue #828: Don't use -Weverything for production use.
This commit is contained in:
+1
-2
@@ -9,8 +9,7 @@ ifeq ($(shell uname -s), Darwin)
|
|||||||
CC = clang
|
CC = clang
|
||||||
endif
|
endif
|
||||||
ifeq ($(findstring clang, $(CC)), clang)
|
ifeq ($(findstring clang, $(CC)), clang)
|
||||||
E = -Weverything
|
CFLAGS += -Wno-unknown-warning-option
|
||||||
CFLAGS += $E -Wno-unknown-warning-option
|
|
||||||
CFLAGS += -Wno-unsafe-buffer-usage
|
CFLAGS += -Wno-unsafe-buffer-usage
|
||||||
endif
|
endif
|
||||||
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
||||||
|
|||||||
Reference in New Issue
Block a user