bc4590a780
This is the right configuration of the platform within the mkspecs. It enables the usage of additional features like the automatic detection of platform specific prf files. Change-Id: I2f19265d283e47c62455128f217bc44ba88cdc98 Reviewed-by: Sergio Ahumada <sahumada@blackberry.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
23 lines
551 B
Plaintext
23 lines
551 B
Plaintext
#
|
|
# qmake configuration for blackberry armv7le systems
|
|
#
|
|
|
|
load(qt_config)
|
|
|
|
DEFINES += Q_OS_BLACKBERRY
|
|
QMAKE_PLATFORM += blackberry
|
|
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
|
|
|
|
include(../common/qcc-base-qnx-armv7le.conf)
|