diff options
| author | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-03 16:47:26 +0200 |
|---|---|---|
| committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-04-17 16:10:01 +0200 |
| commit | e9c61a9e6f51f500df349f8fe569ec095a1b8d2b (patch) | |
| tree | e84af51e857011123503d8d74f8c89b8198ec20e /classes/qmake5_base.bbclass | |
| parent | c27dac3e4e11fb512a1483dacb8a4dcceb827323 (diff) | |
| download | meta-qt5-e9c61a9e6f51f500df349f8fe569ec095a1b8d2b.tar.gz | |
qmake: fix MAKEFLAGS when PARALLEL_MAKE has space
* quotes are needed, because some people have '-j 9' instead of '-j9'
* this can in theory cause PARALLEL_MAKE x PARALLEL_MAKE threads, because
MAKE itself is using PARALLEL_MAKE threads to run inner makes
Diffstat (limited to 'classes/qmake5_base.bbclass')
| -rw-r--r-- | classes/qmake5_base.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass index b9279967..c91f7bd1 100644 --- a/classes/qmake5_base.bbclass +++ b/classes/qmake5_base.bbclass | |||
| @@ -2,7 +2,7 @@ QMAKE_MKSPEC_PATH ?= "${STAGING_DATADIR_NATIVE}/${QT_DIR_NAME}/mkspecs" | |||
| 2 | OE_QMAKE_PLATFORM = "${TARGET_OS}-oe-g++" | 2 | OE_QMAKE_PLATFORM = "${TARGET_OS}-oe-g++" |
| 3 | QMAKESPEC := "${QMAKE_MKSPEC_PATH}/${OE_QMAKE_PLATFORM}" | 3 | QMAKESPEC := "${QMAKE_MKSPEC_PATH}/${OE_QMAKE_PLATFORM}" |
| 4 | 4 | ||
| 5 | EXTRA_OEMAKE = ' MAKEFLAGS=${PARALLEL_MAKE} ' | 5 | EXTRA_OEMAKE = " MAKEFLAGS='${PARALLEL_MAKE}'" |
| 6 | 6 | ||
| 7 | EXTRA_ENV = 'QMAKE="${OE_QMAKE_QMAKE} -d -after \ | 7 | EXTRA_ENV = 'QMAKE="${OE_QMAKE_QMAKE} -d -after \ |
| 8 | INCPATH+=${STAGING_INCDIR}/freetype2 LIBS+=-L${STAGING_LIBDIR}" \ | 8 | INCPATH+=${STAGING_INCDIR}/freetype2 LIBS+=-L${STAGING_LIBDIR}" \ |
