Bug 1153154 - Add stdc++compat check for host programs when not cross compiling. r=mshal

This commit is contained in:
Mike Hommey 2015-04-14 11:07:48 +09:00
Родитель fdf8f9aa72
Коммит f5314c8492
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -711,6 +711,9 @@ else
$(EXPAND_LIBS_EXEC) -- $(HOST_CC) -o $@ $(HOST_CFLAGS) $(HOST_LDFLAGS) $(HOST_PROGOBJS) $(HOST_LIBS) $(HOST_EXTRA_LIBS)
endif # HOST_CPP_PROG_LINK
endif
ifndef CROSS_COMPILE
$(call CHECK_STDCXX,$@)
endif
#
# This is an attempt to support generation of multiple binaries
@ -753,6 +756,9 @@ else
$(EXPAND_LIBS_EXEC) -- $(HOST_CC) $(HOST_OUTOPTION)$@ $(HOST_CFLAGS) $(INCLUDES) $< $(HOST_LIBS) $(HOST_EXTRA_LIBS)
endif
endif
ifndef CROSS_COMPILE
$(call CHECK_STDCXX,$@)
endif
ifdef DTRACE_PROBE_OBJ
EXTRA_DEPS += $(DTRACE_PROBE_OBJ)
@ -798,6 +804,9 @@ endif
endif
endif
endif
ifndef CROSS_COMPILE
$(call CHECK_STDCXX,$@)
endif
# On Darwin (Mac OS X), dwarf2 debugging uses debug info left in .o files,
# so instead of deleting .o files after repacking them into a dylib, we make