зеркало из https://github.com/mozilla/gecko-dev.git
Adding pure target to run purify (Solaris)
This commit is contained in:
Родитель
9a905477aa
Коммит
c9e9df3419
|
@ -404,6 +404,17 @@ else
|
|||
$(CCF) -o $@ $^ $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS)
|
||||
endif
|
||||
|
||||
#
|
||||
# Purify target. Solaris/sparc only to start.
|
||||
# Purify does not recognize "egcs" or "c++" so we go with
|
||||
# "gcc" and "g++" for now.
|
||||
#
|
||||
pure: $(PROGRAM)
|
||||
ifdef CPP_PROG_LINK
|
||||
$(PURIFY) g++ $(CFLAGS) -o $^.pure $(PROGOBJS) $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS)
|
||||
else
|
||||
$(PURIFY) $(CCF) -o $^.pure $(PROGOBJS) $(LDFLAGS) $(LIBS_DIR) $(LIBS) $(OS_LIBS) $(EXTRA_LIBS)
|
||||
endif
|
||||
|
||||
|
||||
ifneq ($(OS_ARCH),OS2)
|
||||
|
|
Загрузка…
Ссылка в новой задаче