mirror of
https://github.com/yarrick/iodine.git
synced 2024-12-26 23:03:33 +02:00
Revert "Hide clang warnings when building tests"
Didn't help on travis macOS build.
This reverts commit ed78f1b43f
.
This commit is contained in:
parent
ed78f1b43f
commit
07beeca580
1 changed files with 0 additions and 6 deletions
|
@ -8,12 +8,6 @@ CHECK_PATH = /usr/local
|
|||
LDFLAGS = -L$(CHECK_PATH)/lib `pkg-config check --libs` -lpthread `sh ../src/osflags $(TARGETOS) link`
|
||||
CFLAGS = -std=c99 -g -Wall -D$(OS) `pkg-config check --cflags` -I../src -I$(CHECK_PATH)/include -pedantic `sh ../src/osflags $(TARGETOS) cflags`
|
||||
|
||||
# Hide clang warnings from check.h about "token pasting of ',' and __VA_ARGS__ is a GNU extension"
|
||||
# and "'format' attribute argument not supported: gnu_printf"
|
||||
ifeq (clang,$(findstring clang,$(CC)))
|
||||
CFLAGS += -Wno-gnu-zero-variadic-macro-arguments -Wno-ignored-attributes
|
||||
endif
|
||||
|
||||
all: $(TEST)
|
||||
@LD_LIBRARY_PATH=${CHECK_PATH}/lib ./$(TEST)
|
||||
|
||||
|
|
Loading…
Reference in a new issue