forked from FFmpeg/FFmpeg
build: Add shorthand for HOSTCC compile macro
This commit is contained in:
parent
7ffaa19570
commit
ad47771024
2 changed files with 2 additions and 1 deletions
1
Makefile
1
Makefile
|
@ -38,6 +38,7 @@ endef
|
|||
|
||||
COMPILE_C = $(call COMPILE,CC)
|
||||
COMPILE_S = $(call COMPILE,AS)
|
||||
COMPILE_HOSTC = $(call COMPILE,HOSTCC)
|
||||
|
||||
%.o: %.c
|
||||
$(COMPILE_C)
|
||||
|
|
|
@ -39,7 +39,7 @@ checkheaders: $(HOBJS)
|
|||
alltools: $(TOOLS)
|
||||
|
||||
$(HOSTOBJS): %.o: %.c
|
||||
$(call COMPILE,HOSTCC)
|
||||
$(COMPILE_HOSTC)
|
||||
|
||||
$(HOSTPROGS): %$(HOSTEXESUF): %.o
|
||||
$(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS)
|
||||
|
|
Loading…
Add table
Reference in a new issue