diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2012-08-29 16:58:34 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2012-08-29 16:58:34 -0700 |
commit | ce1ea443764d3e241e52be66782a8f4d69fc735c (patch) | |
tree | de8071a779a8130c26a72ebfd3982edd0169387a | |
parent | 83bfe0b1fec515d9350ebd63f07f0ed742bb4745 (diff) | |
download | abc-ce1ea443764d3e241e52be66782a8f4d69fc735c.tar.gz abc-ce1ea443764d3e241e52be66782a8f4d69fc735c.tar.bz2 abc-ce1ea443764d3e241e52be66782a8f4d69fc735c.zip |
Suppressed warning 'unused-but-set-variable', which is now enabled by -Wall.
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |