From 79113bbe0978c3b21fc1de8c2f92ac5036042d1d Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sun, 25 Mar 2012 16:03:22 +0300 Subject: [PATCH] Updated default CXXFLAGS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b49e1e7..d41acd1 100644 --- a/Makefile +++ b/Makefile @@ -24,7 +24,7 @@ GITTAG = $(shell git describe --always 2>/dev/null) ### The C++ compiler and options: CXX ?= g++ -CXXFLAGS ?= -fPIC -g -O3 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Woverloaded-virtual -Wno-parentheses +CXXFLAGS ?= -fPIC -g -O3 -Wall -Wextra -Wswitch-default -Wfloat-equal -Wundef -Wpointer-arith -Wconversion -Wcast-align -Wredundant-decls -Wno-unused-parameter -Werror=overloaded-virtual -Wno-parentheses LDFLAGS ?= -Wl,--as-needed ### The directory environment: