expat/expat-2.2.6-fix-make-clean.patch
Dirk Mueller 071322d184 Accepting request 672442 from home:bmwiedemann:branches:devel:libraries:c_c++
Add expat-2.2.6-fix-make-clean.patch
Allow profile guided optimization again

Dear package maintainer: please decide if and how to upstream the new patch.

OBS-URL: https://build.opensuse.org/request/show/672442
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/expat?expand=0&rev=73
2019-02-08 09:41:22 +00:00

20 lines
650 B
Diff

Author: Bernhard M. Wiedemann <bwiedemann suse de>
Date: 2019-02-07
Do not clean files that are shipped in the tarball
and that we cannot create with 'make'
to fix building with profile guided optimizations
Index: expat-2.2.6/doc/Makefile.in
===================================================================
--- expat-2.2.6.orig/doc/Makefile.in
+++ expat-2.2.6/doc/Makefile.in
@@ -572,7 +572,7 @@ clean-local: clean-local-check
.PHONY: clean-local-check
clean-local-check:
- $(RM) xmlwf.1
+ #$(RM) xmlwf.1
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.