From 45a5c006d12c38d17f5605c2f975a7eabda7456f Mon Sep 17 00:00:00 2001 From: Andras Becsi Date: Sat, 28 Sep 2013 03:24:07 +0200 Subject: Allow overriding target compiler and linker with qmake's one Using make_global_settings, we can pass along the compiler and linker that qmake uses, still allowing overriding it through environment variables. We generate qmake_extras.gypi and populated with the host and target compilers so that it also works when cross compiling. Based on patch by Pierre Rossi Change-Id: Ia3789abeea88f4d3cde75c2cf07cc9de66d7afbf Reviewed-by: Zeno Albisser --- build/qmake_extras/qmake_extras.pro | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 build/qmake_extras/qmake_extras.pro (limited to 'build/qmake_extras/qmake_extras.pro') diff --git a/build/qmake_extras/qmake_extras.pro b/build/qmake_extras/qmake_extras.pro new file mode 100644 index 000000000..409993128 --- /dev/null +++ b/build/qmake_extras/qmake_extras.pro @@ -0,0 +1,6 @@ +TEMPLATE = subdirs + +CONFIG += ordered + +SUBDIRS = host \ + target -- cgit v1.2.3