summarylogtreecommitdiffstats
path: root/ldflags.patch
blob: 8eb15254e2ac512e26b6ff3babdb55411b3e9c6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --unified --recursive --text skdet-1.0.orig/Makefile skdet-1.0/Makefile
--- skdet-1.0.orig/Makefile	2023-10-21 17:50:15.305851560 +0200
+++ skdet-1.0/Makefile	2023-10-21 17:50:29.055858022 +0200
@@ -14,7 +14,7 @@
 	$(CC) $(CFLAGS) -c $(SRC)/skdet.c -o skdet.o
 	$(CC) $(CFLAGS) -c $(SRC)/usage.c -o usage.o
 	$(CC) $(CFLAGS) -c $(SRC)/version.c -o version.o
-	$(LD) $(CFLAGS) det-rootkit.o pid-info.o scanner.o skdet.o usage.o version.o -o $(BINARY)
+	$(LD) $(CFLAGS) $(LDFLAGS) det-rootkit.o pid-info.o scanner.o skdet.o usage.o version.o -o $(BINARY)
 	@rm -rf det-rootkit.o pid-info.o scanner.o skdet.o usage.o version.o
 	@$(STRIP) $(BINARY)