[x264-devel] [patch] fix assembly detection on NetBSD

hbent at cs.oberlin.edu hbent at cs.oberlin.edu
Wed May 7 08:01:17 CEST 2008


Hi everyone,

configure sets "-f aoutb" for NetBSD, attempting to create a.out files. 
This no longer works on modern versions, and probably hasn't worked in a
very long time.  It also inhibits the use of yasm, since yasm doesn't know
about a.out.  Here's a simple patch that fixes things, tested on
NetBSD/i386 4.99.62.

-Henry Bent

--- configure.orig      2008-05-07 01:01:09.000000000 -0400
+++ configure   2008-05-07 01:50:47.000000000 -0400
@@ -241,8 +241,6 @@
       ASFLAGS="$ASFLAGS -f macho -DPREFIX"
     elif [ "$SYS" = MINGW ]; then
       ASFLAGS="$ASFLAGS -f win32 -DPREFIX"
-    elif [ "$SYS" = NETBSD ]; then
-      ASFLAGS="$ASFLAGS -f aoutb"
     else
       ASFLAGS="$ASFLAGS -f elf"
     fi




More information about the x264-devel mailing list