2013-10-22 14:18:11 +00:00
|
|
|
#
|
2015-01-12 15:21:31 +00:00
|
|
|
# qmake configuration for blackberry armle-v7 systems
|
2013-10-22 14:18:11 +00:00
|
|
|
#
|
|
|
|
|
|
|
|
load(qt_config)
|
|
|
|
|
|
|
|
DEFINES += Q_OS_BLACKBERRY
|
2014-04-01 12:28:12 +00:00
|
|
|
QMAKE_PLATFORM += blackberry
|
2013-10-22 14:18:11 +00:00
|
|
|
LIBS += -lbps
|
|
|
|
|
|
|
|
# Blackberry also has support for stack smashing protection in its libc
|
|
|
|
contains(QT_CONFIG, stack-protector-strong) {
|
|
|
|
QMAKE_CFLAGS += -fstack-protector-strong
|
|
|
|
} else {
|
|
|
|
QMAKE_CFLAGS += -fstack-protector -fstack-protector-all
|
|
|
|
}
|
|
|
|
|
|
|
|
QMAKE_CFLAGS += -mcpu=cortex-a9 -mtune=cortex-a9 -mthumb -D_FORTIFY_SOURCE=2
|
|
|
|
|
|
|
|
QMAKE_LFLAGS_SHLIB += -Wl,-z,relro -Wl,-z,now
|
|
|
|
|
2015-01-12 15:21:31 +00:00
|
|
|
include(../common/qcc-base-qnx-armle-v7.conf)
|