diff options
author | Sergei Matusevich <sergei.matusevich@gmail.com> | 2011-05-26 00:27:45 +0400 |
---|---|---|
committer | John <jl@hunch.net> | 2011-06-24 04:55:23 +0400 |
commit | 4997b7bd587e97927285093199b78c32fd166381 (patch) | |
tree | b59f8de5873f4e6205b14083e286f4812f39650f /Makefile | |
parent | 7a0db9b66c939c133dc07477c712989bda4525d7 (diff) |
use -Wall -Werror --pedantic flags for compilation (and everything
compiles jsut fine) :)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -6,9 +6,10 @@ BOOST_LIBRARY = /usr/local/lib ARCH = -march=native OPTIM_FLAGS = -O3 -fomit-frame-pointer -ffast-math -fno-strict-aliasing +WARN_FLAGS = --pedantic -Wall -Werror -Wno-long-long -Wno-vla # for normal fast execution. -FLAGS = -Wall $(ARCH) $(OPTIM_FLAGS) -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) +FLAGS = $(ARCH) $(WARN_FLAGS) $(OPTIM_FLAGS) -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) # for parallelization #FLAGS = -Wall $(ARCH) -ffast-math -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -I $(BOOST_INCLUDE) -O3 -fopenmp |