atop: use correct CFLAGS for all files.
This commit is contained in:
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'
|
# Template file for 'atop'
|
||||||
pkgname=atop
|
pkgname=atop
|
||||||
version=2.1
|
version=2.1
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
makedepends="ncurses-devel zlib-devel"
|
makedepends="ncurses-devel zlib-devel"
|
||||||
short_desc="A system and process level monitor"
|
short_desc="A system and process level monitor"
|
||||||
|
|||||||
Reference in New Issue
Block a user