summaryrefslogtreecommitdiff
path: root/libgo
diff options
context:
space:
mode:
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-25 05:45:21 +0000
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>2011-01-25 05:45:21 +0000
commit08e94c7ea2a13d34fa02955141239648500792b9 (patch)
treee1de684b2d183cb70f458d98a6e5f9895278c8ef /libgo
parent1f2acc0c56193b8c2298b6963bc33021cc8bb47d (diff)
downloadgcc-08e94c7ea2a13d34fa02955141239648500792b9.tar.gz
PR go/47452
Pick up local .gox files for specially built packages. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@169192 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgo')
-rw-r--r--libgo/Makefile.am6
-rw-r--r--libgo/Makefile.in6
2 files changed, 6 insertions, 6 deletions
diff --git a/libgo/Makefile.am b/libgo/Makefile.am
index 0ed2d6330bb..0a3e9d3800b 100644
--- a/libgo/Makefile.am
+++ b/libgo/Makefile.am
@@ -1439,7 +1439,7 @@ bufio/check: $(CHECK_DEPS)
bytes/libbytes.a: $(go_bytes_files) $(go_bytes_c_files) io.gox os.gox \
unicode.gox utf8.gox
test -d bytes || $(MKDIR_P) bytes
- $(LTGOCOMPILE) -c -o bytes/bytes.$(OBJEXT) -fgo-prefix=libgo_bytes $(srcdir)/go/bytes/buffer.go $(srcdir)/go/bytes/bytes.go $(srcdir)/go/bytes/bytes_decl.go
+ $(LTGOCOMPILE) -I . -c -o bytes/bytes.$(OBJEXT) -fgo-prefix=libgo_bytes $(srcdir)/go/bytes/buffer.go $(srcdir)/go/bytes/bytes.go $(srcdir)/go/bytes/bytes_decl.go
$(LTCOMPILE) -c -o bytes/index.$(OBJEXT) $(srcdir)/go/bytes/indexbyte.c
rm -f $@
$(AR) rc $@ bytes/bytes.$(OBJEXT) bytes/index.$(OBJEXT)
@@ -1694,7 +1694,7 @@ strings/check: $(CHECK_DEPS)
sync/libsync.a: $(go_sync_files) $(go_sync_c_files) runtime.gox
test -d sync || $(MKDIR_P) sync
- $(LTGOCOMPILE) -c -o sync/mutex.$(OBJEXT) -fgo-prefix=libgo_sync $(srcdir)/go/sync/mutex.go $(srcdir)/go/sync/once.go $(srcdir)/go/sync/rwmutex.go
+ $(LTGOCOMPILE) -I . -c -o sync/mutex.$(OBJEXT) -fgo-prefix=libgo_sync $(srcdir)/go/sync/mutex.go $(srcdir)/go/sync/once.go $(srcdir)/go/sync/rwmutex.go
$(LTCOMPILE) -c -o sync/cas.$(OBJEXT) $(srcdir)/go/sync/cas.c
rm -f $@
$(AR) rc $@ sync/mutex.$(OBJEXT) sync/cas.$(OBJEXT)
@@ -2470,7 +2470,7 @@ 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
files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e's/[^ ]*\.c//g'`; \
- $(LTGOCOMPILE) -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files
+ $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files
$(LTCOMPILE) -c -o syscalls/errno.$(OBJEXT) $(srcdir)/syscalls/errno.c
$(AR) rc syscalls/libsyscall.a syscalls/syscall.$(OBJEXT) syscalls/errno.$(OBJEXT)
syscalls/libsyscall.la: syscalls/libsyscall.a
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 36a6850f46b..9647b31f281 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -3838,7 +3838,7 @@ bufio/check: $(CHECK_DEPS)
bytes/libbytes.a: $(go_bytes_files) $(go_bytes_c_files) io.gox os.gox \
unicode.gox utf8.gox
test -d bytes || $(MKDIR_P) bytes
- $(LTGOCOMPILE) -c -o bytes/bytes.$(OBJEXT) -fgo-prefix=libgo_bytes $(srcdir)/go/bytes/buffer.go $(srcdir)/go/bytes/bytes.go $(srcdir)/go/bytes/bytes_decl.go
+ $(LTGOCOMPILE) -I . -c -o bytes/bytes.$(OBJEXT) -fgo-prefix=libgo_bytes $(srcdir)/go/bytes/buffer.go $(srcdir)/go/bytes/bytes.go $(srcdir)/go/bytes/bytes_decl.go
$(LTCOMPILE) -c -o bytes/index.$(OBJEXT) $(srcdir)/go/bytes/indexbyte.c
rm -f $@
$(AR) rc $@ bytes/bytes.$(OBJEXT) bytes/index.$(OBJEXT)
@@ -4093,7 +4093,7 @@ strings/check: $(CHECK_DEPS)
sync/libsync.a: $(go_sync_files) $(go_sync_c_files) runtime.gox
test -d sync || $(MKDIR_P) sync
- $(LTGOCOMPILE) -c -o sync/mutex.$(OBJEXT) -fgo-prefix=libgo_sync $(srcdir)/go/sync/mutex.go $(srcdir)/go/sync/once.go $(srcdir)/go/sync/rwmutex.go
+ $(LTGOCOMPILE) -I . -c -o sync/mutex.$(OBJEXT) -fgo-prefix=libgo_sync $(srcdir)/go/sync/mutex.go $(srcdir)/go/sync/once.go $(srcdir)/go/sync/rwmutex.go
$(LTCOMPILE) -c -o sync/cas.$(OBJEXT) $(srcdir)/go/sync/cas.c
rm -f $@
$(AR) rc $@ sync/mutex.$(OBJEXT) sync/cas.$(OBJEXT)
@@ -4869,7 +4869,7 @@ 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
files=`echo $^ | sed -e 's/[^ ]*\.gox//g' -e's/[^ ]*\.c//g'`; \
- $(LTGOCOMPILE) -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files
+ $(LTGOCOMPILE) -I . -c -fgo-prefix="libgo_syscalls" -o syscalls/syscall.$(OBJEXT) $$files
$(LTCOMPILE) -c -o syscalls/errno.$(OBJEXT) $(srcdir)/syscalls/errno.c
$(AR) rc syscalls/libsyscall.a syscalls/syscall.$(OBJEXT) syscalls/errno.$(OBJEXT)
syscalls/libsyscall.la: syscalls/libsyscall.a