From 73b60d991a2de8416fa0d4372fc7525c5db9e377 Mon Sep 17 00:00:00 2001 From: Leonid Yuriev Date: Wed, 16 Oct 2019 14:26:45 +0300 Subject: [PATCH] mdbx-build: add -Wno-tautological-compare. Change-Id: I8b0be4c9dfb8864cb50759d08e7d2700ed7b8c36 --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index 35d82d5b..d4c46eec 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -21,7 +21,7 @@ suffix ?= CC ?= gcc LD ?= ld MDBX_OPTIONS ?= -DNDEBUG=1 -CFLAGS ?= -Os -g3 -Wall -Werror -Wextra -ffunction-sections -fPIC -fvisibility=hidden -std=gnu11 -pthread +CFLAGS ?= -Os -g3 -Wall -Werror -Wextra -ffunction-sections -fPIC -fvisibility=hidden -std=gnu11 -pthread -Wno-tautological-compare # LY: '--no-as-needed,-lrt' for ability to built with modern glibc, but then run with the old LDFLAGS ?= $(shell $(LD) --help 2>/dev/null | grep -q -- --gc-sections && echo '-Wl,--gc-sections,-z,relro,-O1')$(shell $(LD) --help 2>/dev/null | grep -q -- -dead_strip && echo '-Wl,-dead_strip')