Only define MDCPUCFG if HOST_NSPR_MDCPUCFG is defined. r=cls

git-svn-id: svn://10.0.0.236/trunk@52287 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
colin%theblakes.com
1999-10-29 23:03:15 +00:00
parent b817d51d4b
commit a3feb440b1

View File

@@ -52,8 +52,12 @@ libhostxpt.$(LIB_SUFFIX): $(HOSTOBJS)
$(AR) $(AR_FLAGS) $@ $(HOSTOBJS)
$(RANLIB) $@
ifdef HOST_NSPR_MDCPUCFG
HOST_CFLAGS += -DMDCPUCFG=$(HOST_NSPR_MDCPUCFG)
endif
%.o-h: %.c
$(HOST_CC) $(HOST_CFLAGS) -I$(DIST)/include $(NSPR_CFLAGS) -DMDCPUCFG=$(HOST_NSPR_MDCPUCFG) -c -o $@ $<
$(HOST_CC) $(HOST_CFLAGS) -I$(DIST)/include $(NSPR_CFLAGS) -c -o $@ $<
export:: libhostxpt.$(LIB_SUFFIX)
$(INSTALL) -m 444 libhostxpt.$(LIB_SUFFIX) $(DIST)/lib