summaryrefslogtreecommitdiff
path: root/libgo/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/Makefile.in')
-rw-r--r--libgo/Makefile.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/libgo/Makefile.in b/libgo/Makefile.in
index 4aebb2d6fd7..556de688dc7 100644
--- a/libgo/Makefile.in
+++ b/libgo/Makefile.in
@@ -390,6 +390,7 @@ LN_S = @LN_S@
LTLIBOBJS = @LTLIBOBJS@
MAINT = @MAINT@
MAKEINFO = @MAKEINFO@
+MATH_FLAG = @MATH_FLAG@
MATH_LIBS = @MATH_LIBS@
MKDIR_P = @MKDIR_P@
NET_LIBS = @NET_LIBS@
@@ -4512,7 +4513,9 @@ log/check: $(CHECK_DEPS)
math/math.lo.dep: $(go_math_files)
$(BUILDDEPS)
math/math.lo: $(go_math_files)
- $(BUILDPACKAGE)
+ $(MKDIR_P) $(@D)
+ files=`echo $^ | sed -e 's/[^ ]*\.gox//g'`; \
+ $(LTGOCOMPILE) $(MATH_FLAG) -I . -c -fgo-prefix="libgo_$(@D)" -o $@ $$files
math/check: $(CHECK_DEPS)
@$(CHECK)
.PHONY: math/check