Changeset 14784


Ignore:
Timestamp:
May 4, 2011, 11:08:29 PM (14 years ago)
Author:
Gary Byers
Message:

Older versions of as for ARM don't understand -mno-warn-deprecated, so check for it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/source/lisp-kernel/linuxarm/Makefile

    r14782 r14784  
    1616SVN_REVISION=$(shell svnversion || echo "unknown")
    1717
     18NO_WARN_DEPRECATED = $(shell ($(AS) --help -v 2>&1 | grep -q -e "-no-warn-deprecated") && /bin/echo "-no-warn-deprecated")
     19
    1820VPATH = ../
    1921RM = /bin/rm
     
    2426# we use the swp instruction in a couple of places;  tell the assembler
    2527# to remain caim.
    26 ASFLAGS = -mfpu=vfp -march=armv7-a -mno-warn-deprecated
     28ASFLAGS = -mfpu=vfp -march=armv7-a $(NO_WARN_DEPRECATED)
    2729M4FLAGS = -DLINUX -DARM
    2830CDEFINES = -DLINUX -DARM -D_REENTRANT -D_GNU_SOURCE -DUSE_FUTEX -DSVN_REVISION=$(SVN_REVISION)
Note: See TracChangeset for help on using the changeset viewer.