mirror of
https://github.com/samba-team/samba.git
synced 2025-02-09 09:57:48 +03:00
r15061: Use $(PERL) to run cflags.pl as actual perl binary might not be in /usr/bin
(This used to be commit 7d5a91a667418b18bde9399ffc4c9852c422362a)
This commit is contained in:
parent
f347be4c73
commit
a41ac85091
@ -311,15 +311,15 @@ unused_macros:
|
|||||||
|
|
||||||
.c.ho:
|
.c.ho:
|
||||||
@echo "Compiling $< with host compiler"
|
@echo "Compiling $< with host compiler"
|
||||||
@$(HOSTCC) `$(srcdir)/script/cflags.pl $@` $(CFLAGS) -c $< -o $@
|
@$(HOSTCC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) -c $< -o $@
|
||||||
|
|
||||||
.c.d:
|
.c.d:
|
||||||
@echo "Generating dependencies for $<"
|
@echo "Generating dependencies for $<"
|
||||||
@$(CC) -M -MG -MP -MT $(<:.c=.o) `$(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
|
@$(CC) -M -MG -MP -MT $(<:.c=.o) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
.c.hd:
|
.c.hd:
|
||||||
@echo "Generating dependencies for $<"
|
@echo "Generating dependencies for $<"
|
||||||
@$(CC) -M -MG -MP -MT $(<:.c=.ho) `$(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
|
@$(CC) -M -MG -MP -MT $(<:.c=.ho) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $< -o $@
|
||||||
|
|
||||||
include/includes.d: include/includes.h
|
include/includes.d: include/includes.h
|
||||||
@echo "Generating dependencies for $<"
|
@echo "Generating dependencies for $<"
|
||||||
@ -328,14 +328,14 @@ include/includes.d: include/includes.h
|
|||||||
.c.o:
|
.c.o:
|
||||||
@if test -n "$(CC_CHECKER)"; then \
|
@if test -n "$(CC_CHECKER)"; then \
|
||||||
echo "Checking $< with '$(CC_CHECKER)'"; \
|
echo "Checking $< with '$(CC_CHECKER)'"; \
|
||||||
$(CC_CHECKER) `$(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@; \
|
$(CC_CHECKER) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@; \
|
||||||
fi
|
fi
|
||||||
@echo "Compiling $<"
|
@echo "Compiling $<"
|
||||||
@$(CC) `$(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@
|
@$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@
|
||||||
|
|
||||||
.h.h.gch:
|
.h.h.gch:
|
||||||
@echo "Precompiling $<"
|
@echo "Precompiling $<"
|
||||||
@$(CC) `$(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@
|
@$(CC) `$(PERL) $(srcdir)/script/cflags.pl $@` $(CFLAGS) $(PICFLAG) -c $< -o $@
|
||||||
|
|
||||||
.y.c:
|
.y.c:
|
||||||
@echo "Building $< with $(YACC)"
|
@echo "Building $< with $(YACC)"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user