Use configured CC in makedeps.yash (#41064)
@@ -1,5 +1,5 @@ | ||
1 | 1 | # Makefile.in for yash: yet another shell |
2 | -# (C) 2007-2015 magicant | |
2 | +# (C) 2007-2020 magicant | |
3 | 3 | # |
4 | 4 | # This program is free software: you can redistribute it and/or modify |
5 | 5 | # it under the terms of the GNU General Public License as published by |
@@ -240,7 +240,7 @@ | ||
240 | 240 | mkdir -p $(topdir)/$(DISTTARGETDIR) |
241 | 241 | cp $(DISTFILES) $(topdir)/$(DISTTARGETDIR) |
242 | 242 | makedeps: _PHONY $(TARGET) |
243 | - $(topdir)/$(TARGET) $(topdir)/makedeps.yash $(SOURCES) | |
243 | + CC='$(CC)' $(topdir)/$(TARGET) $(topdir)/makedeps.yash $(SOURCES) | |
244 | 244 | |
245 | 245 | # ctags conforms to POSIX, but etags and cscope do not. |
246 | 246 | CTAGS = @CTAGS@ |
@@ -1,5 +1,5 @@ | ||
1 | 1 | # Makefile.in for yash: yet another shell |
2 | -# (C) 2007-2012 magicant | |
2 | +# (C) 2007-2020 magicant | |
3 | 3 | # |
4 | 4 | # This program is free software: you can redistribute it and/or modify |
5 | 5 | # it under the terms of the GNU General Public License as published by |
@@ -54,7 +54,7 @@ | ||
54 | 54 | cp $(DISTFILES) $(topdir)/$(DISTTARGETDIR) |
55 | 55 | makedeps: _PHONY |
56 | 56 | @(cd $(topdir) && $(MAKE) $(YASH)) |
57 | - $(topdir)/$(YASH) $(topdir)/makedeps.yash $(SOURCES) | |
57 | + CC='$(CC)' $(topdir)/$(YASH) $(topdir)/makedeps.yash $(SOURCES) | |
58 | 58 | |
59 | 59 | # ctags conforms to POSIX, but etags and cscope do not. |
60 | 60 | CTAGS = @CTAGS@ |
@@ -1,5 +1,5 @@ | ||
1 | 1 | # Makefile.in for yash: yet another shell |
2 | -# (C) 2007-2012 magicant | |
2 | +# (C) 2007-2020 magicant | |
3 | 3 | # |
4 | 4 | # This program is free software: you can redistribute it and/or modify |
5 | 5 | # it under the terms of the GNU General Public License as published by |
@@ -59,7 +59,7 @@ | ||
59 | 59 | cp $(DISTFILES) $(topdir)/$(DISTTARGETDIR) |
60 | 60 | makedeps: _PHONY |
61 | 61 | @(cd $(topdir) && $(MAKE) $(YASH)) |
62 | - $(topdir)/$(YASH) $(topdir)/makedeps.yash $(SOURCES) | |
62 | + CC='$(CC)' $(topdir)/$(YASH) $(topdir)/makedeps.yash $(SOURCES) | |
63 | 63 | |
64 | 64 | # ctags conforms to POSIX, but etags and cscope do not. |
65 | 65 | CTAGS = @CTAGS@ |
@@ -95,7 +95,7 @@ | ||
95 | 95 | cp $(DISTFILES) $(TEST_SOURCES) $(topdir)/$(DISTTARGETDIR) |
96 | 96 | makedeps: _PHONY |
97 | 97 | @(cd $(topdir) && $(MAKE) $(TARGET)) |
98 | - $(topdir)/$(TARGET) $(topdir)/makedeps.yash $(SOURCES) | |
98 | + CC='$(CC)' $(topdir)/$(TARGET) $(topdir)/makedeps.yash $(SOURCES) | |
99 | 99 | |
100 | 100 | mostlyclean: |
101 | 101 | rm -fr $(BYPRODUCTS) |