From f5a6c5718fd99081e0428ee1ae14dccbab9d33d5 Mon Sep 17 00:00:00 2001 From: Vadim Vetrov Date: Sun, 1 Dec 2024 18:24:30 +0300 Subject: [PATCH] Do not duplicate default CFLAGS --- uspace.mk | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/uspace.mk b/uspace.mk index e406026..2506c97 100644 --- a/uspace.mk +++ b/uspace.mk @@ -10,14 +10,12 @@ CCLD:=$(CC) LD:=ld ifeq ($(USE_SYS_LIBS), no) - override CFLAGS += -Wall -Wpedantic -Wno-unused-variable -I$(DEPSDIR)/include -std=gnu11 + override CFLAGS += -I$(DEPSDIR)/include override LDFLAGS += -L$(DEPSDIR)/lib REQ = $(LIBNETFILTER_QUEUE) $(LIBMNL) $(LIBCRYPTO) -else - override CFLAGS += -Wall -Wpedantic -Wno-unused-variable -std=gnu11 endif -override CFLAGS += -DPKG_VERSION=\"$(PKG_FULLVERSION)\" +override CFLAGS += -DPKG_VERSION=\"$(PKG_FULLVERSION)\" -Wall -Wpedantic -Wno-unused-variable -std=gnu99 LIBNFNETLINK_CFLAGS := -I$(DEPSDIR)/include LIBNFNETLINK_LIBS := -L$(DEPSDIR)/lib