Ticket #43614: patch-Makerules.2.diff

File patch-Makerules.2.diff, 726 bytes (added by harciga, 10 years ago)
  • Makerules

    old new  
    1414LDFLAGS += -pg
    1515else ifeq "$(build)" "release"
    1616CFLAGS += -pipe -O2 -DNDEBUG -fomit-frame-pointer
     17LDFLAGS += -fPIC -fno-common
    1718else ifeq "$(build)" "coverage"
    1819CFLAGS += -pipe -g -DDEBUG -pg -fprofile-arcs -ftest-coverage
    1920LIBS += -lgcov
     
    4849SYS_JPEG_LIBS = -ljpeg
    4950SYS_ZLIB_LIBS = -lz
    5051
    51 CC = xcrun cc
    52 AR = xcrun ar
    53 LD = xcrun ld
    54 RANLIB_CMD = xcrun ranlib $@
     52CC = cc
     53AR = ar
     54LD = ld
     55RANLIB_CMD = ranlib $@
    5556
    5657# Linux uses pkg-config for system libraries.
    5758else ifeq "$(OS)" "Linux"