Skip to content

Commit

Permalink
Remove -ansi flag for Clang
Browse files Browse the repository at this point in the history
It seems this flag is only for gcc and
yields a warning under OSX Mavericks:

clang: warning: argument unused during compilation: '-ansi'

No functional change.
  • Loading branch information
mcostalba committed Jun 15, 2014
1 parent c6fc51c commit 73ca93f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Makefile
Expand Up @@ -175,7 +175,7 @@ endif
ifeq ($(COMP),clang)
comp=clang
CXX=clang++
CXXFLAGS += -ansi -pedantic -Wno-long-long -Wextra -Wshadow
CXXFLAGS += -pedantic -Wno-long-long -Wextra -Wshadow
endif

ifeq ($(comp),icc)
Expand Down

0 comments on commit 73ca93f

Please sign in to comment.