aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/version.options
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2013-02-07 08:27:09 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2013-02-07 08:27:09 +0200
commit0c5c65f4377db0d6e303dec900e5561f6afdf7d3 (patch)
tree7f7ad0372617a860774490e669d1d7859987b66f /odb/qt/version.options
parent31ab17b60b7781a94b4d12681112f510a6a825bc (diff)
Take care of QT_REDUCE_RELOCATIONS-related error for ODB compiler
Diffstat (limited to 'odb/qt/version.options')
-rw-r--r--odb/qt/version.options5
1 files changed, 5 insertions, 0 deletions
diff --git a/odb/qt/version.options b/odb/qt/version.options
index 262f339..43c3d39 100644
--- a/odb/qt/version.options
+++ b/odb/qt/version.options
@@ -2,6 +2,11 @@
# copyright : Copyright (c) 2009-2012 Code Synthesis Tools CC
# license : GNU GPL v2; see accompanying LICENSE file
+# Include the config file first so that it can do its thing before we
+# include any Qt headers.
+#
+--odb-prologue '#include <odb/qt/details/config.hxx>'
+
# Make sure the options files as seen by the ODB compiler and header
# files as seen by the C++ compiler have the same Qt interface version.
#