diff options
author | Stefan Weil <sw@weilnetz.de> | 2012-07-18 15:10:23 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2012-07-31 20:05:41 +0000 |
commit | 7ace252a6af1a05aa1ee3d08cf093a46f8a00ad0 (patch) | |
tree | 263b058ec8057416e17429ab53d0c8b714aace05 /configure | |
parent | caa50971f2e14b4c2c67bf2c40edd50be15679c2 (diff) |
configure: Fix errors in test for__sync_fetch_and_and
The old test code raises two compiler warnings which are errors since
commit 417c9d72d48275d19c60861896efd4962d21aca2.
These errors could result in compilations with compiler flag
-march486 (so all nice features of newer processors got lost).
Signed-off-by: Stefan Weil <sw@weilnetz.de>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2799,7 +2799,7 @@ fi # specification is necessary if test "$vhost_net" = "yes" && test "$cpu" = "i386"; then cat > $TMPC << EOF -int sfaa(unsigned *ptr) +static int sfaa(int *ptr) { return __sync_fetch_and_and(ptr, 0); } |