Commit 7125f917 authored by Sam Hocevar's avatar Sam Hocevar
Browse files

* configure: define FORMAT_ELF under Linux and FORMAT_AOUTB under *BSD.


git-svn-id: svn://svn.videolan.org/x264/trunk@425 df754926-b1dd-0310-bc7b-ec298dee348c
parent 5d5c5cc2
......@@ -58,7 +58,7 @@ LDFLAGS=""
HAVE_GETOPT_LONG=1
AS="nasm"
ASFLAGS="-f elf"
ASFLAGS="-f elf -DFORMAT_ELF"
EXE=""
......@@ -119,9 +119,11 @@ case "$UNAMEM" in
i386|i486|i586|i686|BePC)
ARCH="X86"
CFLAGS="$CFLAGS -DHAVE_MMXEXT -DHAVE_SSE2"
if [ $SYS = MACOSX ]
then
ASFLAGS="-f macho -DPREFIX"
if [ "$SYS" = MACOSX ]; then
ASFLAGS="-f macho -DPREFIX -DFORMAT_MACHO"
fi
if [ "$SYS" = FREEBSD -o "$SYS" = NETBSD ]; then
ASFLAGS="-f aoutb -DFORMAT_AOUTB"
fi
;;
x86_64)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment