summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/C/Makefiles/footer.makefile
diff options
context:
space:
mode:
Diffstat (limited to 'BaseTools/Source/C/Makefiles/footer.makefile')
-rw-r--r--BaseTools/Source/C/Makefiles/footer.makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/BaseTools/Source/C/Makefiles/footer.makefile b/BaseTools/Source/C/Makefiles/footer.makefile
index c3d80204af..216ae418f8 100644
--- a/BaseTools/Source/C/Makefiles/footer.makefile
+++ b/BaseTools/Source/C/Makefiles/footer.makefile
@@ -21,16 +21,16 @@ install: $(MAKEROOT)/libs-$(ARCH) $(LIBRARY)
cp $(LIBRARY) $(MAKEROOT)/libs-$(ARCH)
$(LIBRARY): $(OBJECTS)
- $(AR) crs $@ $^
+ $(BUILD_AR) crs $@ $^
%.o : %.c
- $(CC) -c $(CFLAGS) $(CPPFLAGS) $< -o $@
+ $(BUILD_CC) -c $(BUILD_CFLAGS) $(BUILD_CPPFLAGS) $< -o $@
%.o : %.S
- $(AS) -c $(ASFLAGS) $< -o $@
+ $(BUILD_AS) -c $(BUILD_ASFLAGS) $< -o $@
%.o : %.cpp
- $(CXX) -c $(CPPFLAGS) $< -o $@
+ $(BUILD_CXX) -c $(BUILD_CPPFLAGS) $< -o $@
.PHONY: clean
clean: