| Index: native_client_sdk/src/gonacl_appengine/src/cube/Makefile
|
| diff --git a/native_client_sdk/src/gonacl_appengine/src/cube/Makefile b/native_client_sdk/src/gonacl_appengine/src/cube/Makefile
|
| index dbd9d63da0b87a51265f71f2c74de09b8eec4dc8..feef4721ee2df0ac66af93bf077fd709181dc962 100644
|
| --- a/native_client_sdk/src/gonacl_appengine/src/cube/Makefile
|
| +++ b/native_client_sdk/src/gonacl_appengine/src/cube/Makefile
|
| @@ -23,7 +23,9 @@ SOURCES = \
|
|
|
| $(foreach src,$(SOURCES),$(eval $(call COMPILE_RULE,$(src),$(CFLAGS))))
|
|
|
| -ifeq ($(CONFIG),Release)
|
| +# 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,$(TARGET)_unstripped,$(SOURCES),$(LIBS),$(DEPS)))
|
| $(eval $(call STRIP_RULE,$(TARGET),$(TARGET)_unstripped))
|
| else
|
|
|