{
    'include': [
        'common.gypi',
    ],
    'targets': [
        {
            'target_name': 'duckhunter',
            'product_name': 'duckhunter',
            'type': 'executable',
            'cflags': [
                '-pedantic',
                '-Wall',
                '-std=c11',
            ],
            'sources': [
                'src/connector.c',
                'src/main.c',
            ],
            'include_dirs': [
                'include',
                'external/libuv/include',
                'external/libzmq/include',
                'external/bstring/bstring',
            ],
            'dependencies': [
                'external/libuv/uv.gyp:libuv',
            ],
            'link_settings': {
                'libraries': [
                    '-lzmq',
                    '-lbstring',
                    '-lglib-2.0',
                ],
                'ldflags': [
                    '-L../../external/libzmq/src/.libs',
                    '-L../../external/bstring/bstring/.libs',
                    '-L../../external/glib/glib/.libs',
                ],
            },
        },
    ]
}

@@ -292,16 +292,41 @@
 d=c11',%0A
+                '-flto',%0A
         
@@ -1103,32 +1103,61 @@
 ib/glib/.libs',%0A
+                    '-flto',%0A
                 

build - use link-time optimisation to reduce binary size