Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions x86/Build.mk
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,15 @@ i686-assert = __i686__
configs += x86_64
x86_64-assert = __x86_64__

#configs += x86asm
#x86asm-assert = __i686__ || __x86_64__
#x86asm-deps = nasm

have_x86asm = $(and $(have_nasm),$(or $(have_i686),$(have_x86_64)))
configs += x86asm
x86asm-disabled = $(if $(and $(have_nasm),$(or $(have_i686),$(have_x86_64))),,y)

nasmflags = -f $(if $(have_apple),macho,elf)$(if $(have_x86_64),64,32) \
$(if $(have_apple),-DPREFIX) $(if $(have_pic),-DPIC) \
-Pconfig.asm -Ix86 -I$(top_srcdir)/x86

distfiles = config.asm.in x86inc.asm x86util.asm
genfiles = config.asm
#genfiles = $(if $(have_x86asm),config.asm)
genfiles = $(if $(have_x86asm),config.asm)

ARCH_X86_64 = $(if $(have_x86_64),1,0)

Expand Down
Loading