From 22358dd7ce7bb49792204b698f01a6f69b9c8e08 Mon Sep 17 00:00:00 2001
From: Eric Andersen <andersen@codepoet.org>
Date: Thu, 10 May 2001 00:36:24 +0000
Subject: Don't hard code path to TARGET_CC

---
 libcrypt/Makefile | 2 +-
 libutil/Makefile  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libcrypt/Makefile b/libcrypt/Makefile
index 15d8ad534..f4280a4e7 100644
--- a/libcrypt/Makefile
+++ b/libcrypt/Makefile
@@ -25,7 +25,7 @@ include $(TOPDIR)Rules.mak
 
 LIBCRYPT=libcrypt.a
 LIBCRYPT_SHARED=libcrypt.so
-TARGET_CC= ../extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc
+TARGET_CC= $(TOPDIR)extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc
 
 CSRC = crypt.c des.c md5.c
 COBJS=$(patsubst %.c,%.o, $(CSRC))
diff --git a/libutil/Makefile b/libutil/Makefile
index b5a458c30..364e82538 100644
--- a/libutil/Makefile
+++ b/libutil/Makefile
@@ -26,7 +26,7 @@ LIBC=$(TOPDIR)libc.a
 
 LIBUTIL=libutil.a
 LIBUTIL_SHARED=libutil.so
-TARGET_CC= ../extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc
+TARGET_CC= $(TOPDIR)extra/gcc-uClibc/$(TARGET_ARCH)-uclibc-gcc
 
 CSRC=forkpty.c login.c login_tty.c logout.c logwtmp.c openpty.c
 COBJS=$(patsubst %.c,%.o, $(CSRC))
-- 
cgit v1.2.3