Add the same flags for the c++ compiler as they are already defined for the c compiler

Change-Id: If3d42a6b3ad361c8a11b4eee8dd17be0e58d9192
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
bb10
Wolfgang Bremer 2013-06-20 16:04:07 +02:00 committed by The Qt Project
parent c1ddaf4d21
commit 539f90e971
1 changed files with 1 additions and 0 deletions

View File

@ -16,6 +16,7 @@ contains(QT_CONFIG, stack-protector-strong) {
}
QMAKE_CFLAGS += -mcpu=cortex-a9 -mtune=cortex-a9 -mthumb -D_FORTIFY_SOURCE=2
QMAKE_CXXFLAGS += -mcpu=cortex-a9 -mtune=cortex-a9 -mthumb -D_FORTIFY_SOURCE=2
QMAKE_LFLAGS_SHLIB += -Wl,-z,relro -Wl,-z,now