]> granicus.if.org Git - libass/commitdiff
configure: Set the correct x32 machine option for yasm
authorLuke Dashjr <luke-jr+git@utopios.org>
Sat, 10 Oct 2015 08:11:38 +0000 (08:11 +0000)
committerLuke Dashjr <luke-jr+git@utopios.org>
Sat, 10 Oct 2015 20:38:12 +0000 (20:38 +0000)
configure.ac

index 117b23ba794b07cb5cfb3dfce6761f742e87abd2..d6fbe341d113c0c1a2bdd770686d59c33efb60c8 100644 (file)
@@ -56,6 +56,12 @@ AS_IF([test x$enable_asm != xno], [
             X86=true
             BITS=32
             ASFLAGS="$ASFLAGS -DARCH_X86_64=0 -m x86" ],
+        [x86_64-*-gnux32|amd64-*-gnux32], [
+            AS=yasm
+            INTEL=true
+            X64=true
+            BITS=64
+            ASFLAGS="$ASFLAGS -DARCH_X86_64=1 -m x32" ],
         [x86_64-*|amd64-*], [
             AS=yasm
             INTEL=true