[PAL/Linux] Clean up -Wsign-compare flags

This commit is contained in:
Michał Kowalczyk
2019-06-26 00:49:42 -07:00
committed by Dmitrii Kuvaiskii
parent abfd613f60
commit dbfda19421
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ all: $(host_files)
ifeq ($(DEBUG),1)
CC += -gdwarf-2 -g3
CFLAGS += -DDEBUG -Wsign-compare
CFLAGS += -DDEBUG
export DEBUG
endif
+1 -1
View File
@@ -5,7 +5,7 @@ SEC_DIR = security/$(PAL_HOST)
CFLAGS = -Wall -fPIC -O2 -std=c11 -U_FORTIFY_SOURCE \
-fno-stack-protector -fno-builtin
EXTRAFLAGS = -Wextra -Wno-sign-compare $(call cc-option,-Wnull-dereference)
EXTRAFLAGS = -Wextra $(call cc-option,-Wnull-dereference)
CFLAGS += $(EXTRAFLAGS)