comparison configure @ 32333:40d17eafa1e7

100l, actually add yasmdefines to YASMFLAGS.
author reimar
date Thu, 30 Sep 2010 18:15:50 +0000
parents afb76e48fc32
children 541a774ce8e4
comparison
equal deleted inserted replaced
32332:7f082ae61e1c 32333:40d17eafa1e7
2704 yasmdefines="" 2704 yasmdefines=""
2705 # currently tested for Linux x86, x86_64 2705 # currently tested for Linux x86, x86_64
2706 test "$pic" = "yes" && yasmdefines="$yasmdefines -DPIC" 2706 test "$pic" = "yes" && yasmdefines="$yasmdefines -DPIC"
2707 test -n "$extern_prefix" && yasmdefines="$yasmdefines -DPREFIX" 2707 test -n "$extern_prefix" && yasmdefines="$yasmdefines -DPREFIX"
2708 2708
2709 YASMFLAGS="-f $objformat" 2709 YASMFLAGS="-f $objformat $yasmdefines"
2710 x86_64 && YASMFLAGS="$YASMFLAGS -m amd64" 2710 x86_64 && YASMFLAGS="$YASMFLAGS -m amd64"
2711 case "$objformat" in 2711 case "$objformat" in
2712 elf) test $_debug && YASMFLAGS="$YASMFLAGS -g dwarf2" ;; 2712 elf) test $_debug && YASMFLAGS="$YASMFLAGS -g dwarf2" ;;
2713 esac 2713 esac
2714 else 2714 else