atop: use correct CFLAGS for all files.
This commit is contained in:
parent
0c2aa40db4
commit
9b3e4439d9
11
srcpkgs/atop/patches/fix-cflags.patch
Normal file
11
srcpkgs/atop/patches/fix-cflags.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- Makefile.orig 2016-02-26 23:20:11.536799936 +0100
|
||||
+++ Makefile 2016-02-26 23:20:19.545799337 +0100
|
||||
@@ -39,7 +39,7 @@ atopacctd: atopacctd.o netlink.o
|
||||
$(CC) atopacctd.o netlink.o -o atopacctd $(LDFLAGS)
|
||||
|
||||
netlink.o: netlink.c
|
||||
- $(CC) -I. -Wall -c netlink.c
|
||||
+ $(CC) -I. -Wall -c netlink.c $(CFLAGS)
|
||||
|
||||
clean:
|
||||
rm -f *.o
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'atop'
|
||||
pkgname=atop
|
||||
version=2.1
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-makefile
|
||||
makedepends="ncurses-devel zlib-devel"
|
||||
short_desc="A system and process level monitor"
|
||||
|
|
Loading…
Reference in New Issue
Block a user