aboutsummaryrefslogtreecommitdiffstats
path: root/util/Makefile.in
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>1999-07-03 20:37:03 +0000
committerTheodore Ts'o <tytso@mit.edu>1999-07-03 20:37:03 +0000
commit6c133523b23aa6cdae2da2dc35aeaac1904539a4 (patch)
tree7ee3d5798c187dd5f2eb8c2b437a038ae5b25951 /util/Makefile.in
parent9d564f73f594282d87209313ea59e4ca08727ab3 (diff)
downloadandroid_external_e2fsprogs-6c133523b23aa6cdae2da2dc35aeaac1904539a4.tar.gz
android_external_e2fsprogs-6c133523b23aa6cdae2da2dc35aeaac1904539a4.tar.bz2
android_external_e2fsprogs-6c133523b23aa6cdae2da2dc35aeaac1904539a4.zip
ChangeLog, MCONFIG.in, configure.in, configure:
MCONFIG.in (BUILD_CC): configure.in (BUILD_CC): If cross compiling, find the native C compiler and set it to BUILD_CC so that we can successfully build util/subst. ChangeLog, Makefile.in: Makefile.in (subst): Build subst using $(BUILD_CC), since it's a helper program which must be built using the native C compiler during a cross-compilation. Makefile.in: Update dependencies.
Diffstat (limited to 'util/Makefile.in')
-rw-r--r--util/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/Makefile.in b/util/Makefile.in
index 29751f53..75afdff9 100644
--- a/util/Makefile.in
+++ b/util/Makefile.in
@@ -14,14 +14,14 @@ SRCS = $(srcdir)/subst.c
@MCONFIG@
.c.o:
- $(CC) -c $(ALL_CFLAGS) $< -o $@
+ $(BUILD_CC) -c $(ALL_CFLAGS) $< -o $@
PROGS= subst
all:: $(PROGS)
subst: subst.o
- $(CC) $(ALL_LDFLAGS) -o subst subst.o
+ $(BUILD_CC) $(ALL_LDFLAGS) -o subst subst.o
clean:
$(RM) -f $(PROGS) \#* *.s *.o *.a *~ core