Skip to content

Commit

Permalink
Removes redundant condition in Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathonl committed Feb 22, 2018
1 parent 5500464 commit 198a43e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion general/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ ifeq ($(UNAME), Linux)
#
# Disable format-truncation check because StringBasics specifically tests
# to make sure snprintf truncates as expected.
USER_WARNINGS ?= -Werror -Wno-format-truncation $(shell if [ X$(CCVERSION) \> X7.0.0 ] ; then echo " -Wno-strict-overflow -Wno-format-truncation" ; elif [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-strict-overflow" ; fi)
USER_WARNINGS ?= -Werror -Wno-format-truncation $(shell if [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-strict-overflow" ; fi)
# USER_WARNINGS ?= -Werror $(shell if [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-strict-overflow" ; fi)
#-Wno-strict-overflow
# -Wno-unused-variable $(shell if [ X$(CCVERSION) \> X4.2.0 ] ; then echo " -Wno-unused-result" ; fi)
Expand Down

0 comments on commit 198a43e

Please sign in to comment.