Skip to content

Commit

Permalink
Do not duplicate default CFLAGS
Browse files Browse the repository at this point in the history
  • Loading branch information
Waujito committed Dec 1, 2024
1 parent aefabe7 commit f5a6c57
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions uspace.mk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f5a6c57

Please sign in to comment.