about summary refs log tree commit diff
path: root/nixpkgs/pkgs/tools/misc/empty/0.6-Makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nixpkgs/pkgs/tools/misc/empty/0.6-Makefile.patch')
-rw-r--r--nixpkgs/pkgs/tools/misc/empty/0.6-Makefile.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/tools/misc/empty/0.6-Makefile.patch b/nixpkgs/pkgs/tools/misc/empty/0.6-Makefile.patch
new file mode 100644
index 000000000000..6fb494cdf54c
--- /dev/null
+++ b/nixpkgs/pkgs/tools/misc/empty/0.6-Makefile.patch
@@ -0,0 +1,13 @@
+diff --git a/Makefile b/Makefile
+index 1fe4c41..2c69558 100644
+--- a/Makefile
++++ b/Makefile
+@@ -16,7 +16,7 @@ LIBS =	-lutil
+ PREFIX = /usr/local
+ 
+ all:
+-	${CC} ${CFLAGS} -Wall ${LIBS} -o empty empty.c
++	${CC} ${CFLAGS} -Wall -o empty empty.c ${LIBS}
+ 
+ FreeBSD:	all
+ NetBSD:		all