mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-06-05 21:15:22 +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
|
||||
endif
|
||||
ifeq ($(findstring clang, $(CC)), clang)
|
||||
E = -Weverything
|
||||
CFLAGS += $E -Wno-unknown-warning-option
|
||||
CFLAGS += -Wno-unknown-warning-option
|
||||
CFLAGS += -Wno-unsafe-buffer-usage
|
||||
endif
|
||||
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
||||
|
||||
Reference in New Issue
Block a user