disable some compiler warnings

This commit is contained in:
Steffen Jaeckel 2017-08-29 16:57:48 +02:00
parent e8c27ba7df
commit 465933ebf8
2 changed files with 9 additions and 2 deletions

View File

@ -10,8 +10,6 @@ endif
include makefile_include.mk
PLATFORM := $(shell uname | sed -e 's/_.*//')
ifndef LT
ifeq ($(PLATFORM), Darwin)
LT:=glibtool

View File

@ -7,6 +7,8 @@ VERSION=1.0.1-rc2
VERSION_PC=1.0.1
VERSION_SO=1:1
PLATFORM := $(shell uname | sed -e 's/_.*//')
# default make target
default: ${LIBNAME}
@ -55,6 +57,13 @@ endif
endif # COMPILE_SIZE
endif # COMPILE_DEBUG
ifneq ($(findstring clang,$(CC)),)
CFLAGS += -Wno-typedef-redefinition -Wno-tautological-compare -Wno-builtin-requires-header
endif
ifeq ($(PLATFORM), Darwin)
CFLAGS += -Wno-nullability-completeness
endif
# adjust coverage set
ifneq ($(filter $(shell arch), i386 i686 x86_64 amd64 ia64),)
COVERAGE = test_standalone timing