diff options
author | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-27 23:25:31 +0000 |
---|---|---|
committer | ian <ian@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-01-27 23:25:31 +0000 |
commit | d80b680eba90329e89667f46fbe0cf5f8f777b1a (patch) | |
tree | b9997671a1ff98aef3543f04850a83868c7de24a /libgo/Makefile.am | |
parent | fa07ffd0ea5f0fc1bee44327d2473bd568a5435f (diff) | |
download | gcc-d80b680eba90329e89667f46fbe0cf5f8f777b1a.tar.gz |
Don't force rebuild if mksysinfo.sh does not change sysinfo.go.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169342 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo/Makefile.am')
-rw-r--r-- | libgo/Makefile.am | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am index af67803034d..dd17fffc9ab 100644 --- a/libgo/Makefile.am +++ b/libgo/Makefile.am @@ -2464,8 +2464,12 @@ testing/script/check: $(CHECK_DEPS) $(CHECK) .PHONY: testing/script/check -sysinfo.go: $(srcdir)/mksysinfo.sh config.h +sysinfo.go: s-sysinfo; @true +s-sysinfo: $(srcdir)/mksysinfo.sh config.h CC="$(CC)" $(SHELL) $(srcdir)/mksysinfo.sh + $(SHELL) $(srcdir)/../move-if-change tmp-sysinfo.go sysinfo.go + $(STAMP) $@ + syscalls/libsyscall.a: $(go_syscall_files) $(go_syscall_c_files) sync.gox rm -f syscall.gox syscalls/libsyscall.a test -d syscalls || $(MKDIR_P) syscalls |