diff options
author | David Seifert <soap@gentoo.org> | 2023-10-08 14:21:54 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2023-10-08 14:21:54 +0200 |
commit | 2283143ca91761a86b6eb826c927d9b7d9770430 (patch) | |
tree | e1b62e7c6616c55d1aa34ef20f8bca421b6943bd /app-backup/cdbackup/files/cdbackup-0.7.1-makefile.patch | |
parent | app-backup/ccollect: update EAPI 6 -> 8 (diff) | |
download | gentoo-2283143ca91761a86b6eb826c927d9b7d9770430.tar.gz gentoo-2283143ca91761a86b6eb826c927d9b7d9770430.tar.bz2 gentoo-2283143ca91761a86b6eb826c927d9b7d9770430.zip |
app-backup/cdbackup: update EAPI 6 -> 8
Closes: https://bugs.gentoo.org/714644
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-backup/cdbackup/files/cdbackup-0.7.1-makefile.patch')
-rw-r--r-- | app-backup/cdbackup/files/cdbackup-0.7.1-makefile.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/app-backup/cdbackup/files/cdbackup-0.7.1-makefile.patch b/app-backup/cdbackup/files/cdbackup-0.7.1-makefile.patch new file mode 100644 index 000000000000..aac8e317ce5b --- /dev/null +++ b/app-backup/cdbackup/files/cdbackup-0.7.1-makefile.patch @@ -0,0 +1,32 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,6 +1,5 @@ + # compiler selection and options +-CC = gcc +-CFLAGS = -g -O2 -Wall ++CFLAGS += -Wall + DEPFLAGS = -MM -MG + + # install location +@@ -18,19 +17,16 @@ + + all: $(TARGETS) + +-%.o: %.c +- $(CC) $(CFLAGS) -c $< -o $@ +- + $(DEPFILE): Makefile + @$(CC) $(DEPFLAGS) cdbackup.c cdrestore.c cdrom.c virtual.c misc.c > $@ + + include $(DEPFILE) + + cdbackup: cdbackup.o cdrom.o virtual.o virtual-backup.o misc.o +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + + cdrestore: cdrestore.o cdrom.o virtual.o misc.o +- $(CC) $(CFLAGS) -o $@ $^ ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + + strip: $(TARGETS) + strip $(TARGETS) |