mirror of https://github.com/YosysHQ/abc.git
Suppressed warning 'unused-but-set-variable', which is now enabled by -Wall.
This commit is contained in:
parent
83bfe0b1fe
commit
ce1ea44376
2
Makefile
2
Makefile
|
|
@ -35,7 +35,7 @@ arch_flags : arch_flags.c
|
|||
ARCHFLAGS := $(shell $(CC) arch_flags.c -o arch_flags && ./arch_flags)
|
||||
OPTFLAGS := -g -O #-DABC_NAMESPACE=xxx
|
||||
|
||||
CFLAGS += -Wall -Wno-unused-function $(OPTFLAGS) $(ARCHFLAGS) -I$(PWD)/src
|
||||
CFLAGS += -Wall -Wno-unused-function -Wno-unused-but-set-variable $(OPTFLAGS) $(ARCHFLAGS) -I$(PWD)/src
|
||||
CXXFLAGS += $(CFLAGS)
|
||||
|
||||
#LIBS := -m32 -ldl -rdynamic -lreadline -ltermcap
|
||||
|
|
|
|||
Loading…
Reference in New Issue