diff options
| author | Stefan Weil <sw@weilnetz.de> | 2013-05-11 21:46:58 +0200 |
|---|---|---|
| committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-05-15 08:49:28 -0500 |
| commit | 1405b6290fa2143e02dcede90b116d8d663ae669 (patch) | |
| tree | f257d4290f7caaa279d990a7b2bdf03c203c66e2 | |
| parent | 2d16c8e9885d4344a264c68feae28ae1e5f1c993 (diff) | |
| download | focaccia-qemu-1405b6290fa2143e02dcede90b116d8d663ae669.tar.gz focaccia-qemu-1405b6290fa2143e02dcede90b116d8d663ae669.zip | |
w32: Fix configure test for -march=i486
The latest version of MinGW needs a test for __sync_val_compare_and_swap to fix a missing symbol linker error. Reported-by: Igor Mitsyanko <i.mitsyanko@gmail.com> Signed-off-by: Stefan Weil <sw@weilnetz.de> Message-id: 1368301619-32097-2-git-send-email-sw@weilnetz.de Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
| -rwxr-xr-x | configure | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure index 29b5589fa4..5ae7e4a348 100755 --- a/configure +++ b/configure @@ -1346,6 +1346,7 @@ static int sfaa(int *ptr) int main(void) { int val = 42; + val = __sync_val_compare_and_swap(&val, 0, 1); sfaa(&val); return val; } |