Ticket #71728: rosetta.patch

File rosetta.patch, 510 bytes (added by potmj (Michael Pot), 8 months ago)

Ryan's fix as a makefile diff

  • Makefile

    old new  
    5656endif
    5757
    5858# automatically enable runtime vector dispatch on x86/64 targets
    59 detect_x86_arch = $(shell $(CC) -dumpmachine | grep -E 'i[3-6]86|x86_64')
     59# ticket 7172 fix
     60detect_x86_arch = $(shell $(CC) $(CFLAGS) -dumpmachine | grep -E 'i[3-6]86|x86_64')
    6061ifneq ($(strip $(call detect_x86_arch)),)
    6162    #note: can be overridden at compile time, by setting DISPATCH=0
    6263    DISPATCH ?= 1