c8c8e1990c
* relro makes some sections read-only before giving control to the program; * now resolves all symbols when the program is started and allows for the GOT being marked read-only to prevent it from being overwritten. These settings have been used internally for device builds already. Change-Id: I9f62fffe618c75748e2357d1686289c23c5dbee5 Reviewed-by: Greg Bentz <gbentz@rim.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com> Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
23 lines
498 B
Plaintext
23 lines
498 B
Plaintext
#
|
|
# qmake configuration for blackberry armv7le systems
|
|
#
|
|
|
|
load(qt_config)
|
|
|
|
DEFINES += Q_OS_BLACKBERRY
|
|
CONFIG += 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
|
|
|
|
QMAKE_LFLAGS_SHLIB += -Wl,-z,relro -Wl,-z,now
|
|
|
|
include(../common/qcc-base-qnx-armv7le.conf)
|