| 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 73f39963c27cf17556006038de4fd864eb7b3fd5..ca1605fd2e39915836f4489ee16326f3dfd33f05 100644
|
| --- a/native_client_sdk/src/resources/Makefile.example.template
|
| +++ b/native_client_sdk/src/resources/Makefile.example.template
|
| @@ -72,6 +72,9 @@ endif
|
| [[ cflags = 'CFLAGS']]
|
| [[ ]]
|
| [[ ExpandDict(cflags, flags)]]
|
| +[[ for define in target.get('DEFINES', []):]]
|
| +{{cflags}} += -D{{define}}
|
| +[[ ]]
|
| [[ if 'CFLAGS_GCC' in target:]]
|
| ifneq ($(TOOLCHAIN),pnacl)
|
| {{cflags}} += {{' '.join(target['CFLAGS_GCC'])}}
|
|
|