2014-02-07 03:10:06 +00:00
|
|
|
From 828eecd8f361cb965bd40f535435efa91665c8e5 Mon Sep 17 00:00:00 2001
|
2013-07-03 14:14:44 +00:00
|
|
|
From: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
Date: Thu, 9 May 2013 10:06:50 +0200
|
2013-11-02 18:06:14 +00:00
|
|
|
Subject: [PATCH 07/14] configure.prf: Allow to add extra arguments to make
|
2013-07-03 14:14:44 +00:00
|
|
|
|
|
|
|
* sometimes we would like to add -e or define some variable and respect it from both
|
|
|
|
Makefiles used in configure tests and also Makefiles to build the application
|
|
|
|
|
|
|
|
Upstream-Status: Pending
|
|
|
|
|
|
|
|
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
|
|
|
|
---
|
|
|
|
mkspecs/features/configure.prf | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/mkspecs/features/configure.prf b/mkspecs/features/configure.prf
|
2013-11-02 18:06:14 +00:00
|
|
|
index 39144e7..de48b07 100644
|
2013-07-03 14:14:44 +00:00
|
|
|
--- a/mkspecs/features/configure.prf
|
|
|
|
+++ b/mkspecs/features/configure.prf
|
2013-11-02 18:06:14 +00:00
|
|
|
@@ -54,12 +54,12 @@ defineTest(qtCompileTest) {
|
2013-07-03 14:14:44 +00:00
|
|
|
qmake_configs = "\"CONFIG -= qt debug_and_release app_bundle lib_bundle\""
|
|
|
|
|
|
|
|
# Clean up after previous run
|
|
|
|
- exists($$test_out_dir/Makefile):qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE distclean")
|
|
|
|
+ exists($$test_out_dir/Makefile):qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS) distclean")
|
|
|
|
|
|
|
|
mkpath($$test_out_dir)|error("Aborting.")
|
|
|
|
|
|
|
|
qtRunLoggedCommand("$$test_cmd_base $$system_quote($$system_path($$QMAKE_QMAKE)) $$qmake_configs $$shell_quote($$test_dir)") {
|
|
|
|
- qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE") {
|
|
|
|
+ qtRunLoggedCommand("$$test_cmd_base $$QMAKE_MAKE $$(QMAKE_MAKE_ARGS)") {
|
|
|
|
log("yes$$escape_expand(\\n)")
|
|
|
|
msg = "test $$1 succeeded"
|
|
|
|
write_file($$QMAKE_CONFIG_LOG, msg, append)
|
|
|
|
--
|
2014-02-07 03:10:06 +00:00
|
|
|
1.8.5.3
|
2013-07-03 14:14:44 +00:00
|
|
|
|