mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-21 05:43:09 +00:00
98bc4decde
Signed-off-by: Alexey Neyman <stilor@att.net>
36 lines
813 B
Diff
36 lines
813 B
Diff
---
|
|
GNUmakefile | 8 ++------
|
|
1 file changed, 2 insertions(+), 6 deletions(-)
|
|
|
|
--- a/GNUmakefile
|
|
+++ b/GNUmakefile
|
|
@@ -93,10 +93,6 @@
|
|
# also define 'WIN32'
|
|
|
|
# some defaults:
|
|
-CC=gcc
|
|
-CXX=g++
|
|
-AR=ar
|
|
-RANLIB=ranlib
|
|
INSTALL=install
|
|
RM=rm
|
|
RMFORCE=rm -f
|
|
@@ -471,7 +467,7 @@
|
|
|
|
createconf$(EXEPOSTFIX): createconf.o
|
|
- $(RMFORCE) createconf$(EXEPOSTFIX)
|
|
- $(CC) $(CFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
|
|
+ $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) createconf.o -o createconf$(EXEPOSTFIX)
|
|
|
|
tstheap$(EXEPOSTFIX): libduma.a tstheap.o
|
|
- $(RMFORCE) tstheap$(EXEPOSTFIX)
|
|
@@ -532,7 +528,7 @@
|
|
# define rules how to build objects for createconf
|
|
#
|
|
createconf.o:
|
|
- $(CC) $(CFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
|
|
+ $(HOSTCC) $(HOSTCFLAGS) $(DUMA_OPTIONS) -c createconf.c -o $@
|
|
|
|
|
|
#
|