mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 19:02:59 +00:00
26 lines
631 B
Text
26 lines
631 B
Text
![]() |
#
|
||
|
# qmake configuration for blackberry x86 systems
|
||
|
#
|
||
|
|
||
|
include(../qnx-armv7le-qcc/qmake.conf)
|
||
|
|
||
|
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
|
||
|
QMAKE_CXXFLAGS += -fstack-protector-strong
|
||
|
} else {
|
||
|
QMAKE_CFLAGS += -fstack-protector -fstack-protector-all
|
||
|
QMAKE_CXXFLAGS += -fstack-protector -fstack-protector-all
|
||
|
}
|
||
|
|
||
|
QMAKE_CFLAGS += -mcpu=cortex-a9
|
||
|
QMAKE_CXXFLAGS += -mcpu=cortex-a9
|
||
|
|
||
|
QMAKE_LFLAGS_SHLIB += -Wl,-z,relro -Wl,-z,now
|