summaryrefslogtreecommitdiff
path: root/m4/as.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/as.m4')
-rw-r--r--m4/as.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/as.m4 b/m4/as.m4
index fa12f18f8..96a44e239 100644
--- a/m4/as.m4
+++ b/m4/as.m4
@@ -12,9 +12,9 @@ AC_REQUIRE([AC_PROG_CC])
: ${CCASFLAGS='$(CFLAGS)'}
# Set ASCOMPILE if not already set.
if test $CCAS = '$'CC; then
-: ${CCASCOMPILE='$(CCAS) $(AM_ASFLAGS) $(CCASFLAGS) -c'}
+: ${CCASCOMPILE='$(LIBTOOL) --mode=compile $(CCAS) $(AM_ASFLAGS) $(CCASFLAGS) -c'}
else
-: ${CCASCOMPILE='$(CCAS) $(AM_ASFLAGS) $(CCASFLAGS)'}
+: ${CCASCOMPILE='$(LIBTOOL) --mode=compile $(CCAS) $(AM_ASFLAGS) $(CCASFLAGS)'}
fi
AC_SUBST(CCAS)
AC_SUBST(CCASFLAGS)