summaryrefslogtreecommitdiffstats
path: root/mkspecs/linux-icc
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-09-22 10:49:59 +0200
committerThiago Macieira <thiago.macieira@nokia.com>2010-09-22 11:01:18 +0200
commit9333dd84757086c93b95a60e66f891883c36974e (patch)
tree8a84de474350913902c47a048a73d920d737567e /mkspecs/linux-icc
parent60c195a1865e06026b54a5d8fd0036aaa010b8bc (diff)
Update the ICC mkspec: keep the stack aligned to 16-byte
After discussing with Intel, turns out that ICC defaults to aligning the stack when it needs to (e.g., when issuing aligned operations), but doesn't care otherwise. GCC, on the other hand, expects the stack to always be aligned and will issue instructions without checking. We'll probably add __attribute__((force_align_arg_pointer)) to some functions in our code, but we won't be able to catch everything. Reviewed-By: Bradley T. Hughes
Diffstat (limited to 'mkspecs/linux-icc')
-rw-r--r--mkspecs/linux-icc/qmake.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/mkspecs/linux-icc/qmake.conf b/mkspecs/linux-icc/qmake.conf
index 3b26f7dbd6..af56a9a6c5 100644
--- a/mkspecs/linux-icc/qmake.conf
+++ b/mkspecs/linux-icc/qmake.conf
@@ -21,7 +21,7 @@ QMAKE_LEX = flex
QMAKE_LEXFLAGS =
QMAKE_YACC = yacc
QMAKE_YACCFLAGS = -d
-QMAKE_CFLAGS =
+QMAKE_CFLAGS = -falign-stack=maintain-16-byte
QMAKE_CFLAGS_DEPS = -M
QMAKE_CFLAGS_WARN_ON = -w1 -Wcheck -wd654,1572,411,873,1125
QMAKE_CFLAGS_WARN_OFF = -w