toolchain: bump Codescape IMG MIPS version to 2016.05-06
[buildroot-gz.git] / package / qt5 / qt5base / qmake.conf
blob49cf89831667d30e8bab4cc1316dd68e72bdf7df
1 # Qt5 has a mechanism to support "device" profiles, so that people can
2 # specify the compiler, compiler flags and so on for a specific device.
4 # We leverage this mechanism in the Buildroot packaging of qt5 to
5 # simplify cross-compilation: we have our own "device" definition, which
6 # allows us to easily pass the cross-compiler paths and flags from our
7 # qt5.mk.
9 include(../common/linux_device_pre.conf)
11 # modifications to g++-unix.conf
12 QMAKE_CC                = $${CROSS_COMPILE}gcc
13 QMAKE_CXX               = $${CROSS_COMPILE}g++
15 # modifications to gcc-base.conf
16 QMAKE_CFLAGS           += $${BR_COMPILER_CFLAGS}
17 QMAKE_CXXFLAGS         += $${BR_COMPILER_CXXFLAGS}
18 QMAKE_CXXFLAGS_RELEASE += -O3
19 CONFIG                 += nostrip
21 QMAKE_LIBS             += -lrt -lpthread -ldl
22 QMAKE_CFLAGS_ISYSTEM   =
24 include(../common/linux_device_post.conf)
25 load(qt_config)