diff options
author | Camille Moncelier <moncelier@devlife.org> | 2009-12-04 09:23:16 +0100 |
---|---|---|
committer | Damien Lespiau <damien.lespiau@gmail.com> | 2009-12-08 13:50:25 +0000 |
commit | f4c1e1daee887d3aa71e4b46ebe8c322ddcff83a (patch) | |
tree | f226f4884211219ee9a72e1f4f683204e73b5f0e | |
parent | 16420a47b70022bfd10512c6bb16f74eab8d1d37 (diff) |
Support shaving AS (GNU Assembler)
-rw-r--r-- | shave/shave.in | 3 | ||||
-rw-r--r-- | shave/shave.m4 | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/shave/shave.in b/shave/shave.in index db3fea8..2456787 100644 --- a/shave/shave.in +++ b/shave/shave.in @@ -74,6 +74,9 @@ link,*) *,cxx) Q=" CXX " ;; +*,ccas) + Q=" AS " + ;; *,cc) Q=" CC " ;; diff --git a/shave/shave.m4 b/shave/shave.m4 index 40e47f4..e468139 100644 --- a/shave/shave.m4 +++ b/shave/shave.m4 @@ -72,18 +72,21 @@ AC_DEFUN([SHAVE_INIT], AC_SUBST(LIBTOOL) dnl substitute cc/cxx + SHAVE_SAVED_CCAS=$CCAS SHAVE_SAVED_CC=$CC SHAVE_SAVED_CXX=$CXX SHAVE_SAVED_FC=$FC SHAVE_SAVED_F77=$F77 SHAVE_SAVED_OBJC=$OBJC SHAVE_SAVED_MCS=$MCS + CCAS="${SHELL} ${shavedir}/shave ccas ${SHAVE_SAVED_CCAS}" CC="${SHELL} ${shavedir}/shave cc ${SHAVE_SAVED_CC}" CXX="${SHELL} ${shavedir}/shave cxx ${SHAVE_SAVED_CXX}" FC="${SHELL} ${shavedir}/shave fc ${SHAVE_SAVED_FC}" F77="${SHELL} ${shavedir}/shave f77 ${SHAVE_SAVED_F77}" OBJC="${SHELL} ${shavedir}/shave objc ${SHAVE_SAVED_OBJC}" MCS="${SHELL} ${shavedir}/shave mcs ${SHAVE_SAVED_MCS}" + AC_SUBST(CCAS) AC_SUBST(CC) AC_SUBST(CXX) AC_SUBST(FC) |