mirror of
https://github.com/clearlinux/graphene.git
synced 2026-10-04 16:08:22 +00:00
[PAL/Linux] Clean up -Wsign-compare flags
This commit is contained in:
committed by
Dmitrii Kuvaiskii
parent
abfd613f60
commit
dbfda19421
@@ -24,7 +24,7 @@ all: $(host_files)
|
||||
|
||||
ifeq ($(DEBUG),1)
|
||||
CC += -gdwarf-2 -g3
|
||||
CFLAGS += -DDEBUG -Wsign-compare
|
||||
CFLAGS += -DDEBUG
|
||||
export DEBUG
|
||||
endif
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user