simd.prf: replace CONFIG based neon check with a QT_CPU_FEATURES check
authorThomas Senyk <thomas.senyk@pelagicore.com>
Mon, 3 Mar 2014 17:15:37 +0000 (18:15 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Mar 2014 16:22:55 +0000 (17:22 +0100)
commitaff7e6c02e35641f7d7a2e7543d0f905d96e1667
tree8786d8358a3a690471f115fb5408e6e174db9c03
parent7b1058ac92276b81b1d5164fb4ba651421df7990
simd.prf: replace CONFIG based neon check with a QT_CPU_FEATURES check

If one doesn't set CONFIG+=neon in it's mkspec but the compiler enables
it, Qt fails during linking of libQtGui,
because simd.prf isn't executed as needed (doesn't run into neon{..}).

Although a mkspec which enabled neon (-mfpu=neon) without CONFIG+=neon
could be considered broken,
it's still simpler to just 'fix' Qt to not fail unexpected.

Follow-up to e5066a3a2eb965e64f6bf6e112739222574d66d7

Task-number: QTBUG-37264
Change-Id: I3aa0afbe430547971e76c2c988697c133d69796b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
mkspecs/features/simd.prf