| Index: native_client_sdk/src/resources/Makefile.example.template
|
| diff --git a/native_client_sdk/src/resources/Makefile.example.template b/native_client_sdk/src/resources/Makefile.example.template
|
| index 1c0892a5bf806aca8d2308281759678c35f1d799..7398d3c204cf23a2e5524040d4879e51a976fa4d 100644
|
| --- a/native_client_sdk/src/resources/Makefile.example.template
|
| +++ b/native_client_sdk/src/resources/Makefile.example.template
|
| @@ -96,8 +96,14 @@ $(eval $(call SO_RULE,{{name}},$({{sources}})))
|
| [[ elif target['TYPE'] == 'so-standalone':]]
|
| $(eval $(call SO_RULE,{{name}},$({{sources}}),,,1))
|
| [[ else:]]
|
| +# The PNaCl workflow uses both an unstripped and finalized/stripped binary.
|
| +# On NaCl, only produce a stripped binary for Release configs (not Debug).
|
| +ifneq (,$(or $(findstring pnacl,$(TOOLCHAIN)),$(findstring Release,$(CONFIG))))
|
| $(eval $(call LINK_RULE,{{name}}_unstripped,$({{sources}}),$(LIBS),$(DEPS)))
|
| $(eval $(call STRIP_RULE,{{name}},{{name}}_unstripped))
|
| +else
|
| +$(eval $(call LINK_RULE,{{name}},$({{sources}}),$(LIBS),$(DEPS)))
|
| +endif
|
| [[]]
|
|
|
| $(eval $(call NMF_RULE,$(TARGET),)){{post}}
|
|
|