| Index: native_client_sdk/src/gonacl_appengine/src/life/Makefile
|
| diff --git a/native_client_sdk/src/gonacl_appengine/src/life/Makefile b/native_client_sdk/src/gonacl_appengine/src/life/Makefile
|
| index 890f37c3f7285df846d43ff03ed1c31ae02e6098..4b3d3eef3cacdc1095699d4d90111790214bbdd4 100644
|
| --- a/native_client_sdk/src/gonacl_appengine/src/life/Makefile
|
| +++ b/native_client_sdk/src/gonacl_appengine/src/life/Makefile
|
| @@ -20,7 +20,9 @@ SOURCES = life.c
|
|
|
| $(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
|
|
|