Remove the -falign-stack option from ICC's mkspec.
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 11 Oct 2012 23:34:44 +0000 (16:34 -0700)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Sat, 13 Oct 2012 03:51:19 +0000 (05:51 +0200)
This option was necessary in early ICC 12 releases because of a
difference in interpreting the ABI requirements with GCC. According to
ICC devs, GCC changed the ABI on its own to require 16-byte-aligned
stacks on i386.

It looks like this option has been the default in later ICC 12
releases. At least 12.1 update 5 has it by default. ICC 13 does not
have the option anymore but accepts it silently for backwards
compatibility.

Change-Id: Id8bb4c250718eef2f02dc97bd47a0efd95b272fc
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
mkspecs/linux-icc/qmake.conf

index d7fe808..5400694 100644 (file)
@@ -12,7 +12,7 @@ QMAKE_LEX             = flex
 QMAKE_LEXFLAGS         =
 QMAKE_YACC             = yacc
 QMAKE_YACCFLAGS                = -d
-QMAKE_CFLAGS           = -falign-stack=maintain-16-byte
+QMAKE_CFLAGS           =
 QMAKE_CFLAGS_DEPS      = -M
 QMAKE_CFLAGS_WARN_ON   = -w1 -Wcheck -wd654,1572,411,873,1125,2259,2261
 QMAKE_CFLAGS_WARN_OFF  = -w