From 0ca68642ded4e1519e9b2d9cc9353f0ca4fbae7a Mon Sep 17 00:00:00 2001 From: Ivo De Decker Date: Sat, 1 Jun 2013 00:00:00 +0200 Subject: [PATCH] Use CFLAGS and LDFLAGS from environment Note: this is a patch originating from the Debian packaging. --- Makefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0156f8a..dfdfb61 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -CFLAGS= -Wall -O2 +#CFLAGS= -Wall -O2 SBINDIR= /sbin BINDIR= /bin USRBINDIR= /usr/bin @@ -9,10 +9,10 @@ MTDIR=$(BINDIR) all: mt stinit mt: mt.c - $(CC) $(CFLAGS) -o mt mt.c + $(CC) $(CFLAGS) $(LDFLAGS) -o mt mt.c stinit: stinit.c - $(CC) $(CFLAGS) -o stinit stinit.c + $(CC) $(CFLAGS) $(LDFLAGS) -o stinit stinit.c install: mt stinit install -s mt $(MTDIR)