Ticket #43614: patch-Makerules.diff

File patch-Makerules.diff, 774 bytes (added by harciga, 11 years ago)
  • Makerules

    old new  
    1414LDFLAGS += -pg
    1515else ifeq "$(build)" "release"
    1616CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
    17 LDFLAGS += -fPIC
    1817else ifeq "$(build)" "coverage"
    1918CFLAGS += -pipe -g -DDEBUG -pg -fprofile-arcs -ftest-coverage
    2019LIBS += -lgcov
     
    3029ifeq "$(OS)" "MINGW"
    3130
    3231# Mac OS X doesn't have pkg-config so we hard code paths.
    33 else ifeq "$(OS)" "SKIP"
     32else ifeq "$(OS)" "MACOS"
    3433
    3534HAVE_X11 ?= yes
    3635
     
    5554RANLIB_CMD = xcrun ranlib $@
    5655
    5756# Linux uses pkg-config for system libraries.
    58 else ifeq (,$(filter $(OS), "Linux MACOS"))
     57else ifeq "$(OS)" "Linux"
    5958
    6059HAVE_X11 ?= yes
    6160