[Openmcl-cvs-notifications] r14784 - /trunk/source/lisp-kernel/linuxarm/Makefile

gb at clozure.com gb at clozure.com
Thu May 5 01:08:30 CDT 2011


Author: gb
Date: Thu May  5 01:08:29 2011
New Revision: 14784

Log:
Older versions of as for ARM don't understand -mno-warn-deprecated, so chec=
k for it

Modified:
    trunk/source/lisp-kernel/linuxarm/Makefile

Modified: trunk/source/lisp-kernel/linuxarm/Makefile
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/lisp-kernel/linuxarm/Makefile (original)
+++ trunk/source/lisp-kernel/linuxarm/Makefile Thu May  5 01:08:29 2011
@@ -15,6 +15,8 @@
 =

 SVN_REVISION=3D$(shell svnversion || echo "unknown")
 =

+NO_WARN_DEPRECATED =3D $(shell ($(AS) --help -v 2>&1 | grep -q -e "-no-war=
n-deprecated") && /bin/echo "-no-warn-deprecated")
+
 VPATH =3D ../
 RM =3D /bin/rm
 # Versions of GNU as >=3D 2.9.1 all seem to work
@@ -23,7 +25,7 @@
 M4 =3D m4
 # we use the swp instruction in a couple of places;  tell the assembler
 # to remain caim.
-ASFLAGS =3D -mfpu=3Dvfp -march=3Darmv7-a -mno-warn-deprecated
+ASFLAGS =3D -mfpu=3Dvfp -march=3Darmv7-a $(NO_WARN_DEPRECATED)
 M4FLAGS =3D -DLINUX -DARM
 CDEFINES =3D -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DUSE_FUTEX -DSVN_RE=
VISION=3D$(SVN_REVISION)
 CDEBUG =3D -g



More information about the Openmcl-cvs-notifications mailing list