vcpkg/ports/fontconfig/build2.patch
Ilya Arzhannikov 706ab2a279
[fontconfig] Add cflags in tools build command (#17019)
* add clags in tools build command

* bump port version

* x-add-version fontconfig

* vcpkg x-add-version fontconfig --overwrite-version

* bump port version

* ./vcpkg x-add-version fontconfig

* Update versions/f-/fontconfig.json

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* bump port version

* ./vcpkg x-add-version fontconfig

Co-authored-by: Ilya Arzhannikov <iarzhannikov@artec3d.com>
Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2021-05-05 13:31:41 -07:00

36 lines
910 B
Diff

diff --git a/Tools.mk b/Tools.mk
index f0fa0ec50..24e5afd16 100644
--- a/Tools.mk
+++ b/Tools.mk
@@ -43,7 +43,7 @@ AM_CPPFLAGS = \
$(WARN_CFLAGS)
$(TOOL): $(TSRC) $(ALIAS_FILES)
- $(AM_V_GEN) $(CC_FOR_BUILD) -o $(TOOL) $< $(AM_CPPFLAGS)
+ $(AM_V_GEN) $(CC_FOR_BUILD) -o $(TOOL) $< $(AM_CPPFLAGS) $(LIBINTL) $(CFLAGS)
$(TARG): $(TMPL) $(TSRC) $(DEPS)
$(AM_V_GEN) $(MAKE) $(TOOL) && \
diff --git a/fc-case/fc-case.c b/fc-case/fc-case.c
index 236bff5f0..6fb21c855 100644
--- a/fc-case/fc-case.c
+++ b/fc-case/fc-case.c
@@ -345,7 +345,7 @@ main (int argc, char **argv)
break;
fputs (line, stdout);
}
-
+ fflush (stdout);
/*
* Dump these tables
*/
@@ -354,7 +354,7 @@ main (int argc, char **argv)
/*
* And flush out the rest of the input file
*/
-
+ fflush (stdout);
while (fgets (line, sizeof (line), stdin))
fputs (line, stdout);