summaryrefslogtreecommitdiffstats
path: root/tools/ucl/src
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ucl/src')
-rw-r--r--tools/ucl/src/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/ucl/src/Makefile b/tools/ucl/src/Makefile
index 33972bb617..06399822b4 100644
--- a/tools/ucl/src/Makefile
+++ b/tools/ucl/src/Makefile
@@ -33,12 +33,12 @@ libucl$(RBARCH).a: $(TARGET_DIR)libucl$(RBARCH).a
$(TARGET_DIR)libucl$(RBARCH).a: $(OBJS)
@echo AR $(notdir $@)
- $(SILENT)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1
+ $(SILENT)$(CROSS)$(AR) rucs $@ $(OBJS) >/dev/null 2>&1
$(OBJDIR)/%.o: %.c
@echo CC $<
$(SILENT)mkdir -p $(dir $@)
- $(SILENT)$(CC) $(CFLAGS) -c $< -o $@
+ $(SILENT)$(CROSS)$(CC) $(CFLAGS) -c $< -o $@
# some trickery to build ppc and i386 from a single call
ifeq ($(RBARCH),)