OSDN Git Service

Use HOSTCC for seting up the syscall list
authorEric Andersen <andersen@codepoet.org>
Sat, 29 Jan 2005 12:08:54 +0000 (12:08 -0000)
committerEric Andersen <andersen@codepoet.org>
Sat, 29 Jan 2005 12:08:54 +0000 (12:08 -0000)
Makefile

index d45b95b..0d6179a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -104,7 +104,7 @@ endif
        fi
        @cd $(TOPDIR); \
        set -x -e; \
-       TOPDIR=. CC="$(CC)" /bin/sh extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h.new; \
+       TOPDIR=. CC="$(HOSTCC)" /bin/sh extra/scripts/gen_bits_syscall_h.sh > include/bits/sysnum.h.new; \
        if cmp include/bits/sysnum.h include/bits/sysnum.h.new >/dev/null 2>&1; then \
                $(RM) include/bits/sysnum.h.new; \
        else \