summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/linux-dm800-g++/qmake.conf
blob: fca93b4cd7d9bdab86d49daaa7ab554b2efc767e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#
# qmake configuration for linux-dm800-g++, for Dream Multimedia's DM800
#

include(../../common/g++.conf)
include(../../common/linux.conf)
include(../../common/qws.conf)

# modifications to g++.conf
QMAKE_CC                = mipsel-linux-gcc
QMAKE_CXX               = mipsel-linux-g++
QMAKE_LINK              = mipsel-linux-g++
QMAKE_LINK_SHLIB        = mipsel-linux-g++
QMAKE_CFLAGS           += -mabi=32 -mips32
QMAKE_CFLAGS_RELEASE   += -fexpensive-optimizations -frename-registers -O2
QMAKE_CXXFLAGS          = $$QMAKE_CFLAGS
QMAKE_CXXFLAGS_RELEASE  = $$QMAKE_CFLAGS_RELEASE

# modifications to linux.conf
QMAKE_AR                = mipsel-linux-ar cqs
QMAKE_OBJCOPY           = mipsel-linux-objcopy
QMAKE_STRIP             = mipsel-linux-strip

load(qt_config)