termux-packages/packages/tty-solitaire/Makefile.patch
2021-11-27 13:00:40 +01:00

13 lines
534 B
Diff

diff -u -r ../tty-solitaire-1.1.0/Makefile ./Makefile
--- ../tty-solitaire-1.1.0/Makefile 2018-08-12 22:05:12.000000000 +0000
+++ ./Makefile 2018-08-13 20:22:37.063193979 +0000
@@ -45,7 +45,7 @@
all: ${EXECUTABLE}
ttysolitaire: $(SRC_OBJECTS)
- $(CC) $(CFLAGS) $(SRC) -o $(EXECUTABLE) $(SRC_OBJECTS) $(LDFLAGS)
+ $(CC) $(CFLAGS) $(CPPFLAGS) $(SRC) -o $(EXECUTABLE) $(SRC_OBJECTS) $(LDFLAGS)
test: $(SRC_OBJECTS) $(TESTS_OBJECTS)
@$(CC) $(CFLAGS) $(TESTS_SRC) -o $(TESTS_EXECUTABLE) $(TESTS_OBJECTS) $(SRC_OBJECTS) $(LDFLAGS)