termux-packages/packages/suite3270/b3270-Makefile.obj.in.patch
2022-01-14 15:10:40 +02:00

12 lines
393 B
Diff

--- 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)