Ticket #40324: patch-src-Makefile.diff

File patch-src-Makefile.diff, 296 bytes (added by Ionic (Mihai Moldovan), 11 years ago)

Patch the makefile to not override CFLAGS/LDFLAGS via make call.

  • src/Makefile

    old new  
    11CC=gcc
    22LD=gcc
    33
     4CFLAGS := $(MACPORTS_CFLAGS)
     5LDFLAGS := $(MACPORTS_LDFLAGS)
     6
    47ifdef DEBUG
    58CFLAGS += -g -DDEBUG=$(DEBUG) -fstack-protector-all
    69DEBUG_OBJ=mallocv.o