Ticket #51018: patch-src-Makefile.diff

File patch-src-Makefile.diff, 715 bytes (added by gaberoo@…, 9 years ago)

Same patch as before

  • Makefile

    old new  
    3434BOWTIE_MM = 1
    3535BOWTIE_SHARED_MEM = 0
    3636
    37 # Detect Cygwin or MinGW
    38 WINDOWS = 0
    39 MINGW = 0
    40 ifneq (,$(findstring MINGW,$(shell uname)))
    41         WINDOWS = 1
    42         MINGW = 1
    43         # POSIX memory-mapped files not currently supported on Windows
    44         BOWTIE_MM = 0
    45         BOWTIE_SHARED_MEM = 0
    46 endif
    47 
    48 MACOS = 0
    49 ifneq (,$(findstring Darwin,$(shell uname)))
    50         MACOS = 1
    51         ifneq (,$(findstring 13,$(shell uname -r)))
    52                 CPP = clang++
    53                 CC = clang
    54                 override EXTRA_FLAGS += -stdlib=libstdc++
    55         endif
    56 endif
     37MACOS = 1
     38override EXTRA_FLAGS += -stdlib=libstdc++
    5739
    5840POPCNT_CAPABILITY ?= 1
    5941ifeq (1, $(POPCNT_CAPABILITY))