mirror of
https://github.com/termux/termux-packages.git
synced 2024-12-12 14:13:36 +00:00
15 lines
357 B
Diff
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)
|
|
|