summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2017-12-12 19:43:04 +0100
committerHenning Baldersheim <balder@yahoo-inc.com>2017-12-12 21:01:58 +0100
commita1b922cd5170031b83087ffda9bfa143f31846d6 (patch)
treeed90067cd879dbd5441d58e2b4f5db2fcaaf51ac /document
parent901343475d56a40e87d649a992bbcc8ae61d6ffb (diff)
Add workaround for ancient flex compiler.
Diffstat (limited to 'document')
-rw-r--r--document/src/vespa/document/select/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/document/src/vespa/document/select/CMakeLists.txt b/document/src/vespa/document/select/CMakeLists.txt
index eba5ddde40c..6dadd35e98a 100644
--- a/document/src/vespa/document/select/CMakeLists.txt
+++ b/document/src/vespa/document/select/CMakeLists.txt
@@ -39,3 +39,6 @@ vespa_add_library(document_select OBJECT
AFTER
document_documentconfig
)
+
+#TODO Remove once we have a recently new flex compiler. At least 2.5.38/39 or 2.6
+set_source_files_properties(${FLEX_DocSelLexer_OUTPUTS} PROPERTIES COMPILE_FLAGS -Wno-register)