zephyr: fix build for nrf52840_pca10059

The build overflows by 100B using the 7-2018-q2-update GNU Arm
Embedded toolchain. Turn on size optimizations; this leaves about 19%
of the partition's flash available for MCUboot to grow into.

Signed-off-by: Marti Bolivar <marti.bolivar@nordicsemi.no>
diff --git a/boot/zephyr/boards/nrf52840_pca10059.conf b/boot/zephyr/boards/nrf52840_pca10059.conf
index 8c59700..ba333d9 100644
--- a/boot/zephyr/boards/nrf52840_pca10059.conf
+++ b/boot/zephyr/boards/nrf52840_pca10059.conf
@@ -3,6 +3,10 @@
 # Disable logging.
 CONFIG_LOG=n
 
+# The build won't fit on the partition allocated for it without size
+# optimizations.
+CONFIG_SIZE_OPTIMIZATIONS=y
+
 # Serial
 CONFIG_SERIAL=y
 CONFIG_UART_NRFX=y