mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2025-08-06 13:50:49 +08:00
Ignore unused functions on linux.
This commit is contained in:
@ -7,6 +7,7 @@ CFLAGS += -Wno-padded -Wno-double-promotion -Wno-missing-noreturn -Wno-unused-fu
|
|||||||
endif
|
endif
|
||||||
ifeq ($(shell uname -s), Linux)
|
ifeq ($(shell uname -s), Linux)
|
||||||
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
CFLAGS += -std=c99 -pedantic -Wall -Wextra -Werror
|
||||||
|
CFLAGS += -Wno-unused-function
|
||||||
endif
|
endif
|
||||||
#DEBUG = -O0 -g
|
#DEBUG = -O0 -g
|
||||||
CFLAGS += $(DEBUG)
|
CFLAGS += $(DEBUG)
|
||||||
|
Reference in New Issue
Block a user