termux-packages/packages/suite3270/b3270-Makefile.obj.in.patch

12 lines
393 B
Diff
Raw Normal View History

2022-01-08 20:48:36 +01:00
--- a/b3270/Makefile.obj.in
+++ b/b3270/Makefile.obj.in
@@ -69,7 +69,7 @@
./mkfb -c -o $@ $(filter-out mkfb,$^)
mkfb: mkfb.c
- $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(filter %.c,$^)
+ $(CC_FOR_BUILD) $(XCPPFLAGS) -o $@ $(filter %.c,$^)
b3270: $(OBJS1) $(DEP3270) $(DEP3270I) $(DEP32XX) $(DEP3270STUBS)
$(CC) -o $@ $(OBJS1) $(LDFLAGS) $(LD3270) $(LD3270I) $(LD32XX) $(LD3270STUBS) $(LIBS)