summaryrefslogtreecommitdiffstats
path: root/mkspecs/qws/linux-dm800-g++/qmake.conf
blob: 002e4c7d5642ffb000ce735178b3e79a90ae304a (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
25
#
# qmake configuration for linux-dm800-g++, for Dream Multimedia's DM800
#

include(../../common/linux.conf)
include(../../common/gcc-base-unix.conf)
include(../../common/g++-unix.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)