Code: Select all
ifndef X64
  ifeq (x86_64,$(shell uname -m))
    X64=64
  else
    X64=
  endif
endifCode: Select all
ifdef X64
  NOASM=1
endifAttached is my makefile with these modifications. (I've also reordered a few ifndef blocks to ifdef blocks just to be more consistent with zdoom's version.)
I've compiled gzdoom with this change, and it works in software mode, but opengl mode has many graphical glitches; I'm not sure if this is just my system or due to 64-bit unfriendly code.