diff options
author | Michael Nottebrock <lofi@FreeBSD.org> | 2007-08-03 19:11:00 +0000 |
---|---|---|
committer | Michael Nottebrock <lofi@FreeBSD.org> | 2007-08-03 19:11:00 +0000 |
commit | 8a34c2856c1f45232f56181a9f4f7e31183893e9 (patch) | |
tree | 0337a7c58deca20862c1982f293b842cf12f489c /Mk/bsd.qt.mk | |
parent | Update base plugins to 0.10.14 (diff) |
Add a QMAKEFLAGS variable that contains some useful mappings of
standard make and environment variables to their qmake counterparts:
QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" QMAKE_LINK_SHLIB="${CXX}"
QMAKE_LINK="${CXX}" QMAKE_CFLAGS="${CFLAGS}"
QMAKE_CXXFLAGS="${CXXFLAGS}" QMAKE_CFLAGS_THREAD="${PTHREAD_CFLAGS}"
QMAKE_LFLAGS_THREAD="${PTHREAD_LIBS}"
This is mostly useful for ports which call ${QMAKE} directly in some
target and want to override some of the defaults in qmake.conf.
Notes
Notes:
svn path=/head/; revision=197034
Diffstat (limited to '')
-rw-r--r-- | Mk/bsd.qt.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.qt.mk b/Mk/bsd.qt.mk index bd216d8df552..99011b34980d 100644 --- a/Mk/bsd.qt.mk +++ b/Mk/bsd.qt.mk @@ -51,6 +51,11 @@ MOC?= ${QT_PREFIX}/bin/moc-qt4 UIC?= ${QT_PREFIX}/bin/uic-qt4 QMAKE?= ${QT_PREFIX}/bin/qmake-qt4 QMAKESPEC?= ${QT_PREFIX}/share/qt4/mkspecs/freebsd-g++ +QMAKEFLAGS+= QMAKE_CC="${CC}" QMAKE_CXX="${CXX}" QMAKE_LINK_SHLIB="${CXX}" \ + QMAKE_LINK="${CXX}" QMAKE_CFLAGS="${CFLAGS}" \ + QMAKE_CXXFLAGS="${CXXFLAGS}" \ + QMAKE_CFLAGS_THREAD="${PTHREAD_CFLAGS}" \ + QMAKE_LFLAGS_THREAD="${PTHREAD_LIBS}" .if ${OSVERSION} < 700042 && ${ARCH} == "amd64" QTCPPFLAGS?= -fno-gcse |