From 8e1e025b0ffc52ee4ebfbae5ae16026313dc4bea Mon Sep 17 00:00:00 2001 From: Rolf Ahrenberg Date: Sun, 25 Mar 2012 16:02:16 +0300 Subject: [PATCH] Updated default CXXFLAGS. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index b227656..7862260 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: