0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-12 14:13:36 +00:00
termux-packages/packages/libstemmer/GNUmakefile.patch
2022-05-07 16:56:12 +09:00

15 lines
357 B
Diff

--- a/GNUmakefile
+++ b/GNUmakefile
@@ -204,7 +204,10 @@
-rmdir $(js_output_dir)
snowball$(EXEEXT): $(COMPILER_OBJECTS)
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) -o $@ $^
+
+compiler/%.o: compiler/%.c
+ $(CC_FOR_BUILD) $(CFLAGS_FOR_BUILD) -c $< -o $@
$(COMPILER_OBJECTS): $(COMPILER_HEADERS)