2012-03-19 16:30:28 +00:00
|
|
|
#
|
2012-04-18 10:07:10 +00:00
|
|
|
# qmake configuration for blackberry armv7le systems
|
2012-03-19 16:30:28 +00:00
|
|
|
#
|
|
|
|
|
2012-09-20 12:11:25 +00:00
|
|
|
load(qt_config)
|
|
|
|
|
2012-03-19 16:30:28 +00:00
|
|
|
DEFINES += Q_OS_BLACKBERRY
|
|
|
|
CONFIG += blackberry
|
|
|
|
LIBS += -lbps
|
|
|
|
|
2012-04-05 15:46:18 +00:00
|
|
|
# Blackberry also has support for stack smashing protection in its libc
|
2012-09-20 12:11:25 +00:00
|
|
|
contains(QT_CONFIG, stack-protector-strong) {
|
|
|
|
QMAKE_CFLAGS += -fstack-protector-strong
|
|
|
|
} else {
|
|
|
|
QMAKE_CFLAGS += -fstack-protector -fstack-protector-all
|
|
|
|
}
|
2012-04-05 15:46:18 +00:00
|
|
|
|
2013-02-19 15:20:48 +00:00
|
|
|
QMAKE_CFLAGS += -mcpu=cortex-a9 -mtune=cortex-a9 -mthumb -D_FORTIFY_SOURCE=2
|
2012-11-22 16:29:04 +00:00
|
|
|
|
2012-11-23 16:32:50 +00:00
|
|
|
QMAKE_LFLAGS_SHLIB += -Wl,-z,relro -Wl,-z,now
|
|
|
|
|
2012-09-04 09:42:23 +00:00
|
|
|
include(../common/qcc-base-qnx-armv7le.conf)
|