diff options
author | Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> | 2016-08-16 18:18:13 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-08-19 04:26:59 +0000 |
commit | de1da50557a8a641f0620b1e4c490fc1f36b70c9 (patch) | |
tree | 03a5774159ac151aee87eb48b4760d5affef7c28 /src/3rdparty/zlib | |
parent | ce942a22653231bc780fa4026ea4bac3fa1fe0b9 (diff) |
make bootstrapped build work entirely without generated headers
instead, the only relevant defines from qconfig.h (QT_VERSION*) are
passed on the command line, like we already did for qmake and
configure.exe.
this enables us to remove the early forwarding header generation from
qtbase.pro, and rely wholly on the regular mechanism from syncqt +
qt_module_headers.prf.
another advantage is that we can be sure that the bootstrapped namespace
is not polluted by the target feature configuration.
Change-Id: If29285cfc697ae56b591e2ff1a2114686d18fb30
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/3rdparty/zlib')
-rw-r--r-- | src/3rdparty/zlib/gzguts.h | 4 | ||||
-rw-r--r-- | src/3rdparty/zlib/zutil.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/3rdparty/zlib/gzguts.h b/src/3rdparty/zlib/gzguts.h index 9e4368e889..3daf1070c4 100644 --- a/src/3rdparty/zlib/gzguts.h +++ b/src/3rdparty/zlib/gzguts.h @@ -21,7 +21,9 @@ # endif #endif -#include "qconfig.h" +#ifndef QT_BOOTSTRAPPED +# include <qconfig.h> +#endif #if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ) && defined(QT_VISIBILITY_AVAILABLE) # define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) #else diff --git a/src/3rdparty/zlib/zutil.h b/src/3rdparty/zlib/zutil.h index 4d367a92db..881a7ecb3f 100644 --- a/src/3rdparty/zlib/zutil.h +++ b/src/3rdparty/zlib/zutil.h @@ -13,7 +13,9 @@ #ifndef ZUTIL_H #define ZUTIL_H -#include "qconfig.h" +#ifndef QT_BOOTSTRAPPED +# include <qconfig.h> +#endif #if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ) && defined(QT_VISIBILITY_AVAILABLE) # define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) #else |