diff options
author | Barret Rhoden <brho@cs.berkeley.edu> | 2018-09-28 14:33:53 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2018-09-28 14:35:12 -0700 |
commit | 7179b21b0366062d55e411320ff347c436d05a8a (patch) | |
tree | 6311316c2b43c5ba0a7c592b79a2c320923d9e0c /cfg.mk | |
parent | 532737abf5d47f22d8b249c899160f44ba2ff65e (diff) | |
download | grep-7179b21b0366062d55e411320ff347c436d05a8a.tar.gz |
maint: fix cross-compiling problem
* cfg.mk (PATH): Omit if cross-compiling (Bug#32866).
Copyright-paperwork-exempt: yes
Diffstat (limited to 'cfg.mk')
-rw-r--r-- | cfg.mk | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -17,7 +17,9 @@ # Cause the tool(s) built by this package to be used also when running # commands via e.g., "make syntax-check". Doing this a little sooner # would have avoided a grep infloop bug. +ifeq ($(build_triplet), $(host_triplet)) export PATH := $(builddir)/src$(PATH_SEPARATOR)$(PATH) +endif # Used in maint.mk's web-manual rule manual_title = GNU Grep: Print lines matching a pattern |