diff options
-rw-r--r-- | libc/ChangeLog.eglibc | 5 | ||||
-rw-r--r-- | libc/sunrpc/Makefile | 4 | ||||
-rw-r--r-- | libc/timezone/Makefile | 4 |
3 files changed, 9 insertions, 4 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index 63f650fc8..9212dc63f 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,8 @@ +2012-02-10 Paul Pluzhnikov <ppluzhnikov@google.com> + + * timezone/Makefile: Use BUILD_CC instead of 'gcc'. + * sunrpc/Makefile: Likewise. + 2012-02-08 Joseph Myers <joseph@codesourcery.com> * locale/localeinfo.h: Condition <tls.h> include and diff --git a/libc/sunrpc/Makefile b/libc/sunrpc/Makefile index b01b08e18..b3cb20137 100644 --- a/libc/sunrpc/Makefile +++ b/libc/sunrpc/Makefile @@ -175,11 +175,11 @@ $(objpfx)rpcgen: $(addprefix $(objpfx),$(rpcgen-objs)) \ $(+link) $(addprefix $(objpfx)cross-,$(rpcgen-objs)): $(objpfx)cross-%.o: %.c - gcc $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \ + $(BUILD_CC) $< -c -D_RPC_THREAD_SAFE_ -D_CROSS_RPCGEN_ \ $(OUTPUT_OPTION) $(compile-mkdep-flags) $(objpfx)cross-rpcgen: $(addprefix $(objpfx)cross-,$(rpcgen-objs)) - gcc $^ -o $@ + $(BUILD_CC) $^ -o $@ # This makes sure -DNOT_IN_libc is passed for all these modules. cpp-srcs-left := $(rpcgen-objs:.o=.c) diff --git a/libc/timezone/Makefile b/libc/timezone/Makefile index 941371361..9d2c65543 100644 --- a/libc/timezone/Makefile +++ b/libc/timezone/Makefile @@ -181,11 +181,11 @@ zic-objs = zic.o ialloc.o scheck.o $(objpfx)zic: $(addprefix $(objpfx), $(zic-objs)) $(addprefix $(objpfx)cross-,$(zic-objs)): $(objpfx)cross-%.o: %.c - gcc $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \ + $(BUILD_CC) $< -c $(OUTPUT_OPTION) $(CFLAGS-$*.c) $(CPPFLAGS-$*) \ -DCROSS_ZIC $(compile-mkdep-flags) $(objpfx)cross-zic: $(addprefix $(objpfx)cross-,$(zic-objs)) - gcc $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@ + $(BUILD_CC) $(addprefix $(objpfx)cross-,$(zic-objs)) -o $@ tz-cflags = -DTZDIR='"$(zonedir)"' \ -DTZDEFAULT='"$(localtime-file)"' \ |