summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@theqtcompany.com>2016-03-18 08:45:27 +0100
committerDavid Schulz <david.schulz@theqtcompany.com>2016-03-23 09:57:23 +0000
commitd3d78c81754f2737b7686c8989460105a0a0c0e7 (patch)
tree2bab5b920f4017179994e206af5c0210c6579599
parent7565b734342facf9a848aced2d8f2a006a99f5a0 (diff)
configure: Appending compiler and linker flags...
...instead of overwriting when building qmake for windows. Change-Id: I89eb33439b03a0ad33d006d12c9896c87d271c4f Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 8d7772ac5b..1cafa98c3b 100755
--- a/configure
+++ b/configure
@@ -4042,8 +4042,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
done
fi
if [ "$BUILD_ON_MSYS" = "yes" ]; then
- EXTRA_CFLAGS="-DUNICODE"
- EXTRA_CXXFLAGS="-DUNICODE"
+ EXTRA_CFLAGS="$EXTRA_CFLAGS -DUNICODE"
+ EXTRA_CXXFLAGS="$EXTRA_CXXFLAGS -DUNICODE"
EXTRA_OBJS="qfilesystemengine_win.o \
qfilesystemiterator_win.o \
qfsfileengine_win.o \
@@ -4058,7 +4058,7 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
\"\$(SOURCE_PATH)/src/corelib/tools/qlocale_win.cpp\" \
\"\$(SOURCE_PATH)/src/corelib/plugin/qsystemlibrary.cpp\" \
\"\$(SOURCE_PATH)/tools/shared/windows/registry.cpp\""
- EXTRA_LFLAGS="-static -s -lole32 -luuid -ladvapi32 -lkernel32"
+ EXTRA_LFLAGS="$EXTRA_LFLAGS -static -s -lole32 -luuid -ladvapi32 -lkernel32"
EXEEXT=".exe"
else
EXTRA_OBJS="qfilesystemengine_unix.o \