byaccj/honor-ldflags.patch

13 lines
350 B
Diff
Raw Normal View History

diff -ruN byaccj1.15.orig/src/Makefile byaccj1.15/src/Makefile
--- byaccj1.15.orig/src/Makefile 2020-11-23 15:20:38.376711773 +0100
+++ byaccj1.15/src/Makefile 2020-11-23 15:20:58.680671903 +0100
@@ -75,7 +75,7 @@
$(CC) -c $(CFLAGS) $(INC) $< -o $@
yacc: $(OBJ)
- $(CC) -o yacc $(OBJ)
+ $(CC) -o yacc $(LDFLAGS) $(OBJ)
@echo "done"
clean: