diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /sys-apps/spu-tools/files/spu-tools-2.3.0.136-buildsystem.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'sys-apps/spu-tools/files/spu-tools-2.3.0.136-buildsystem.patch')
-rw-r--r-- | sys-apps/spu-tools/files/spu-tools-2.3.0.136-buildsystem.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-apps/spu-tools/files/spu-tools-2.3.0.136-buildsystem.patch b/sys-apps/spu-tools/files/spu-tools-2.3.0.136-buildsystem.patch new file mode 100644 index 000000000000..0d1e25ec9659 --- /dev/null +++ b/sys-apps/spu-tools/files/spu-tools-2.3.0.136-buildsystem.patch @@ -0,0 +1,32 @@ + Makefile | 9 +++++---- + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/Makefile b/Makefile +index 9c4b69b..cf8958d 100644 +--- a/Makefile ++++ b/Makefile +@@ -1,8 +1,9 @@ + ARCHIV := spu-tools.tar.gz + +-CC = gcc +-CFLAGS = -g -Wall ++CC ?= gcc ++CFLAGS ?= -g -Wall + PREFIX = $(DESTDIR)/usr ++LIBS ?= -lncurses + + objs = ctx-info.o spu-info.o proc-info.o general-info.o spu-top.o spu-ps.o + target = spu-top spu-ps +@@ -16,10 +17,10 @@ spu-top.o: spu-top.c spu-tools.h + spu-ps.o: spu-ps.c spu-tools.h + + spu-top: ctx-info.o spu-info.o proc-info.o general-info.o spu-top.o +- $(CC) $(CFLAGS) -lncurses ctx-info.o spu-info.o proc-info.o general-info.o spu-top.o -o spu-top ++ $(CC) $(CFLAGS) $(LDFLAGS) ctx-info.o spu-info.o proc-info.o general-info.o spu-top.o -o spu-top $(LIBS) + + spu-ps: ctx-info.o spu-ps.o +- $(CC) $(CFLAGS) ctx-info.o spu-ps.o -o spu-ps ++ $(CC) $(CFLAGS) $(LDFLAGS) ctx-info.o spu-ps.o -o spu-ps + + clean: + @rm -Rf *.o *~ $(objs) $(target) spu-top.1 spu-ps.1 |