summaryrefslogtreecommitdiff
path: root/makefiles
diff options
context:
space:
mode:
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"