diff options
author | trav90 <travawine@protonmail.ch> | 2015-12-02 00:49:26 -0600 |
---|---|---|
committer | trav90 <travawine@protonmail.ch> | 2015-12-02 00:49:26 -0600 |
commit | c8ebfe491d9d0e63481f727d4fd8d46c3de6f217 (patch) | |
tree | 036ed8ba51aede9675f682bbba794565e7711920 /config | |
parent | 8123324dc20793705c90b450e3c107626d9bb4d4 (diff) | |
download | palemoon-gre-c8ebfe491d9d0e63481f727d4fd8d46c3de6f217.tar.gz |
Add stdc++compat check for host programs when not cross compiling
Diffstat (limited to 'config')
-rw-r--r-- | config/rules.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/rules.mk b/config/rules.mk index 59436c779..81f3e2d78 100644 --- a/config/rules.mk +++ b/config/rules.mk @@ -896,6 +896,9 @@ else $(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 @@ -936,6 +939,9 @@ else $(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) |