OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ffaa19
)
build: Add shorthand for HOSTCC compile macro
author
Diego Biurrun
<diego@biurrun.de>
Mon, 2 Dec 2013 02:51:48 +0000
(
03:51
+0100)
committer
Diego Biurrun
<diego@biurrun.de>
Mon, 2 Dec 2013 12:13:09 +0000
(13:13 +0100)
Makefile
patch
|
blob
|
history
common.mak
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
89f04a0
..
20ce686
100644
(file)
--- a/
Makefile
+++ b/
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)
diff --git
a/common.mak
b/common.mak
index
01c4b63
..
6836c11
100644
(file)
--- a/
common.mak
+++ b/
common.mak
@@
-39,7
+39,7
@@
checkheaders: $(HOBJS)
alltools: $(TOOLS)
$(HOSTOBJS): %.o: %.c
- $(
call COMPILE,HOSTC
C)
+ $(
COMPILE_HOST
C)
$(HOSTPROGS): %$(HOSTEXESUF): %.o
$(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS)