aboutsummaryrefslogtreecommitdiffstats
path: root/main/devicemaster-linux/makefile.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/devicemaster-linux/makefile.patch')
-rw-r--r--main/devicemaster-linux/makefile.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/main/devicemaster-linux/makefile.patch b/main/devicemaster-linux/makefile.patch
new file mode 100644
index 0000000000..da50b9e85a
--- /dev/null
+++ b/main/devicemaster-linux/makefile.patch
@@ -0,0 +1,19 @@
+--- ./Makefile.orig
++++ ./Makefile
+@@ -52,13 +52,13 @@
+ nslink.o: nslink.o nslink.c nslink_int.h nslink.h version.h
+
+ nslinkd: nslinkd.c parse.c nslink.h nslinkd.h version.h
+- gcc -Wall -o nslinkd nslinkd.c parse.c
++ $(CC) $(CFLAGS) -Wall $(LDFLAGS) -o nslinkd nslinkd.c parse.c
+
+ nslinkadmin: nslinkadmin.c
+- gcc -Wall -o nslinkadmin nslinkadmin.c
++ $(CC) $(CFLAGS) -Wall $(LDFLAGS) -o nslinkadmin nslinkadmin.c
+
+ nslinkrelease: nslinkrelease.c
+- $(CC) -Wall -o nslinkrelease nslinkrelease.c
++ $(CC) $(CFLAGS) -Wall $(LDFLAGS) -o nslinkrelease nslinkrelease.c
+
+ modules: nslink.o mod_nslink.o
+