Browse Source

build: Add shorthand for HOSTCC compile macro

tags/n2.2-rc1
Diego Biurrun 12 years ago
parent
commit
ad47771024
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      Makefile
  2. +1
    -1
      common.mak

+ 1
- 0
Makefile View File

@@ -38,6 +38,7 @@ endef

COMPILE_C = $(call COMPILE,CC)
COMPILE_S = $(call COMPILE,AS)
COMPILE_HOSTC = $(call COMPILE,HOSTCC)

%.o: %.c
$(COMPILE_C)


+ 1
- 1
common.mak View File

@@ -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…
Cancel
Save