aboutsummaryrefslogtreecommitdiff
path: root/admin/atop/patches/010-makefile-missing-cflags.patch
blob: 9d83c48115e4d0ce65d1eedc4002e0389b3b4339 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/Makefile
+++ b/Makefile
@@ -33,7 +33,7 @@ VERS     = $(shell ./atop -V 2>/dev/null
 all: 		atop atopsar atopacctd atopconvert atopcat
 
 atop:		atop.o    $(ALLMODS) Makefile
-		$(CC) atop.o $(ALLMODS) -o atop -lncursesw -lz -lm -lrt $(LDFLAGS)
+		$(CC) $(CFLAGS) atop.o $(ALLMODS) -o atop -lncursesw -lz -lm -lrt $(LDFLAGS)
 
 atopsar:	atop
 		ln -sf atop atopsar