summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2015-03-18 14:10:48 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2015-03-18 14:10:52 +0100
commit64553f5c8e9800201960aef099b43ac85ea1eaf1 (patch)
treeb0345f3ededd18e879bc348c03b8cd95a69b51a2
parentb1f4b33cabcfd05d89a17a077311dc51eccb5436 (diff)
downloadrunit-void-64553f5c8e9800201960aef099b43ac85ea1eaf1.tar.gz
runit-void-64553f5c8e9800201960aef099b43ac85ea1eaf1.tar.xz
runit-void-64553f5c8e9800201960aef099b43ac85ea1eaf1.zip
Makefile: respect LDFLAGS.
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index c6f9c96..5d6ebb5 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,8 @@ PREFIX ?=	/usr/local
 SCRIPTS=	1 2 3 ctrlaltdel
 
 all:
-	$(CC) $(CFLAGS) halt.c -o halt
-	$(CC) $(CFLAGS) pause.c -o pause
+	$(CC) $(CFLAGS) halt.c -o halt $(LDFLAGS)
+	$(CC) $(CFLAGS) pause.c -o pause $(LDFLAGS)
 
 install:
 	install -d ${DESTDIR}/${PREFIX}/sbin