core/transcode/srip-respectldflags.patch

28 lines
761 B
Diff

Index: subtitleripper/Makefile
===================================================================
--- subtitleripper.orig/Makefile
+++ subtitleripper/Makefile
@@ -70,19 +70,19 @@ vobsub2pgm.o: vobsub2pgm.c vobsub.h spud
# Target
subtitle2pgm: subtitle2pgm.o spudec.o
@echo "Linking $@"
- @$(CC) $^ -o $@ $(LIBS)
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
subtitle2vobsub: subtitle2vobsub.o vobsub.o
@echo "Linking $@"
- @$(CC) $^ -o $@ $(LIBS)
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
srttool: srttool.o
@echo "Linking $@"
- @$(CC) -g $^ -o $@ $(LIBS)
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
vobsub2pgm: vobsub2pgm.o vobsub.o spudec.o
@echo "Linking $@"
- @$(CC) -g $^ -o $@ $(LIBS)
+ @$(CC) $(LDFLAGS) $^ -o $@ $(LIBS)
.PHONY: clean dist rpm
clean: