From 07beeca580ac455486a144e3fc2c16716ebcd011 Mon Sep 17 00:00:00 2001 From: Erik Ekman Date: Fri, 3 Jul 2020 18:11:35 +0200 Subject: [PATCH] Revert "Hide clang warnings when building tests" Didn't help on travis macOS build. This reverts commit ed78f1b43f63a34d05b8d2ad0fdb970041701b4f. --- tests/Makefile | 6 ------ 1 file changed, 6 deletions(-) diff --git a/tests/Makefile b/tests/Makefile index 73f348b..03eed98 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -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)