3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-13 05:35:28 +00:00

Makefile: error on unused variables

This commit is contained in:
Emil J. Tywoniak 2026-05-12 12:51:12 +02:00
parent 1f02343268
commit b06f9bdf18

View file

@ -104,7 +104,7 @@ VPATH := $(YOSYS_SRC)
UNITESTPATH := $(YOSYS_SRC)/tests/unit
export CXXSTD ?= c++17
CXXFLAGS := $(CXXFLAGS) -Wall -Wextra -ggdb -I. -I"$(YOSYS_SRC)" -MD -MP -D_YOSYS_ -fPIC -I$(PREFIX)/include
CXXFLAGS := $(CXXFLAGS) -Wall -Wextra -Werror=unused -ggdb -I. -I"$(YOSYS_SRC)" -MD -MP -D_YOSYS_ -fPIC -I$(PREFIX)/include
LIBS := $(LIBS) -lstdc++ -lm
PLUGIN_LINKFLAGS :=
PLUGIN_LIBS :=