termux-packages/packages/tty-solitaire/Makefile.patch

13 lines
534 B
Diff
Raw Normal View History

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}
2017-09-23 01:49:01 +02:00
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)