From a709b00b339fc28d08d6214040e737a056fe4242 Mon Sep 17 00:00:00 2001 From: Alex Nicksay Date: Fri, 27 Feb 2015 03:37:56 -0500 Subject: [PATCH] Ensure the proper compilation flags are set for the bootloader. This returns the bootloader to its previous size: - normal: from 4508 bytes to 3164 bytes - gzip: from 2060 bytes to 1584 bytes --- bin/configure.js | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/configure.js b/bin/configure.js index ccdc7401..94eb8314 100755 --- a/bin/configure.js +++ b/bin/configure.js @@ -197,6 +197,7 @@ function variables(ninja) { '--output_wrapper_file $wrapper_js' ]; var bootloader = [ + '--define "SPF_BOOTLOADER=true"', '--closure_entry_point spf.bootloader', '--output_wrapper "(function(){%output%})();"' ];