summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2014-02-27 19:35:13 +0100
committerAndreas Baumann <abaumann@yahoo.com>2014-02-27 19:35:13 +0100
commit8d0167bb5aaf1f4d3038c4f5d59ca9fd08edaee2 (patch)
treea3e94424922106d74e40997d4487fd266268f820 /makefiles
parent52a9eeb2d3173319ceb06626bde154a897ad369a (diff)
downloadcrawler-8d0167bb5aaf1f4d3038c4f5d59ca9fd08edaee2.tar.gz
crawler-8d0167bb5aaf1f4d3038c4f5d59ca9fd08edaee2.tar.bz2
fixed compilation issues on gcc 4.8
Diffstat (limited to 'makefiles')
-rw-r--r--makefiles/gmake/compiler.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/makefiles/gmake/compiler.mk b/makefiles/gmake/compiler.mk
index f43b45e..abd7d36 100644
--- a/makefiles/gmake/compiler.mk
+++ b/makefiles/gmake/compiler.mk
@@ -125,6 +125,12 @@ CXX_COMPILE_FLAGS = \
ifeq "$(GCC_MAJOR_VERSION)" "4"
CXX_COMPILE_FLAGS += \
-Wno-invalid-offsetof -funit-at-a-time
+
+# from gcc 4.8 upwards, breaks scoped_ptr.h
+ifeq "$(GCC_MINOR_VERSION)" "8"
+CXX_COMPILE_FLAGS += \
+ -Wno-unused-local-typedefs
+endif
endif
ifeq "$(GCC_MAJOR_VERSION)" "3"