From c2f3a2749198c31db8ed5b8dcf118b73a3fe80ee Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 14 Dec 2001 21:43:34 +0000 Subject: [PATCH] Pull CC, AS, and LD from kernel. Sparc64 needs it. --- Makefile.modbuild | 6 +++--- scripts/linux_flags/Makefile | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile.modbuild b/Makefile.modbuild index 5d7c20f7..b777e692 100644 --- a/Makefile.modbuild +++ b/Makefile.modbuild @@ -18,9 +18,9 @@ HOSTCFLAGS =-Wall -Wstrict-prototypes -O2 -fomit-frame-pointer # Include the make variables (CC, etc...) # -AS = $(CROSS_COMPILE)as -LD = $(CROSS_COMPILE)ld -CC = $(CROSS_COMPILE)gcc +#AS = $(CROSS_COMPILE)as +#LD = $(CROSS_COMPILE)ld +#CC = $(CROSS_COMPILE)gcc CPP = $(CC) -E AR = $(CROSS_COMPILE)ar NM = $(CROSS_COMPILE)nm diff --git a/scripts/linux_flags/Makefile b/scripts/linux_flags/Makefile index 248b7f61..9f02710d 100644 --- a/scripts/linux_flags/Makefile +++ b/scripts/linux_flags/Makefile @@ -13,7 +13,8 @@ modules: echo ARFLAGS="$(ARFLAGS)" >>flags echo CROSS_COMPILE="$(CROSS_COMPILE)" >>flags echo KERNELRELEASE="$(KERNELRELEASE)" >>flags - - + echo CC="$(CC)" >>flags + echo LD="$(LD)" >>flags + echo AS="$(AS)" >>flags -- 2.26.2