Fix ARFLAGS to be compatible with old RHEL5 ar.

This commit is contained in:
Graydon Hoare 2012-03-28 20:28:06 -07:00
parent f7bbe537c1
commit 635b55100c

View File

@ -58,7 +58,7 @@ CXXFLAGS.target ?= $(CXXFLAGS)
LINK.target ?= $(LINK) LINK.target ?= $(LINK)
LDFLAGS.target ?= $(LDFLAGS) LDFLAGS.target ?= $(LDFLAGS)
AR.target ?= $(AR) AR.target ?= $(AR)
ARFLAGS.target ?= crsT ARFLAGS.target ?= crs
# N.B.: the logic of which commands to run should match the computation done # N.B.: the logic of which commands to run should match the computation done
# in gyp's make.py where ARFLAGS.host etc. is computed. # in gyp's make.py where ARFLAGS.host etc. is computed.
@ -71,7 +71,7 @@ CXXFLAGS.host ?=
LINK.host ?= g++ LINK.host ?= g++
LDFLAGS.host ?= LDFLAGS.host ?=
AR.host ?= ar AR.host ?= ar
ARFLAGS.host := crsT ARFLAGS.host := crs
# Define a dir function that can handle spaces. # Define a dir function that can handle spaces.
# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions # http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions