summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@theqtcompany.com>2016-04-27 15:14:55 +0200
committerLars Knoll <lars.knoll@theqtcompany.com>2016-04-27 20:12:46 +0000
commitfa93c7c7b05d0b41bb0d8c8f285925b27ec28cb4 (patch)
tree76d6cdfe8d64a11a0138dacd4127bcdff9e313d3 /configure
parent5795c86e8b84d9026c2c768e816d2aea620a7ec7 (diff)
Fix a small logic error in qmake bootstrap compiler flags
There was a small logic error in the code selecting the debug/release C(XX)_FLAGS used when compiling qmake, that could lead to us not specifying any flags at all. Change-Id: I5d3c44367d535a17570e3602029b84a02706d624 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 3e97c98e1a..fb4cbefb29 100755
--- a/configure
+++ b/configure
@@ -4028,7 +4028,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
setBootstrapVariable QMAKE_CXXFLAGS_RELEASE
EXTRA_CFLAGS="$EXTRA_CFLAGS \$(QMAKE_CFLAGS_RELEASE)"
EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS \$(QMAKE_CXXFLAGS_RELEASE)"
- elif [ "$CFG_DEBUG" = "yes" ]; then
+ else
setBootstrapVariable QMAKE_CFLAGS_DEBUG
setBootstrapVariable QMAKE_CXXFLAGS_DEBUG
EXTRA_CFLAGS="$EXTRA_CFLAGS \$(QMAKE_CFLAGS_DEBUG)"