]> git.sesse.net Git - vlc/commit
contrib: fix the FPU detection for cross-compiles
authorEdward Wang <edward.c.wang@compdigitec.com>
Fri, 21 Dec 2012 11:54:14 +0000 (06:54 -0500)
committerRafaël Carré <funman@videolan.org>
Fri, 21 Dec 2012 13:13:12 +0000 (14:13 +0100)
commit701a99af4db0b9f9c3fbedf3088573cb5a3b1505
tree7acd4ffcbfca42bcaada23cc46aa07b46e7ca44d
parent639ee4abbf37c901d85103ef8f72daba66a01100
contrib: fix the FPU detection for cross-compiles

Previously, FPU detction was done before the variables for compiling (CC, CFLAGS, etc) were set. This broke on cross-compiles, because it was trying to use the default $(CC) to do the checks.

By doing the FPU detection after setting all the variables, FPU detection for cross-compiles works spectacularly.

Signed-off-by: Rafaël Carré <funman@videolan.org>
contrib/src/main.mak