See ccConfig.h
You can disable various engine features and avoid linking libraries you don’t need.
#define CC_USE_TIFF 0
#define CC_USE_3D_PHYSICS 0
#define CC_USE_PHYSICS 0
#define CC_ENABLE_SCRIPT_BINDING 0
No idea how much this will shave off though. It’s worth looking inside the archive you create to see the ratio between assets and binary too.