From 298820612c293504618ecf21d32866ce5ae525db Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Wed, 20 Sep 2017 15:28:19 +0300 Subject: [PATCH] The linker -S flag to omit unnecessary symbols from the final binary was missing for raspberrypi. --- backend.native/konan.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/backend.native/konan.properties b/backend.native/konan.properties index f5dde5172e4..8d13274cf77 100644 --- a/backend.native/konan.properties +++ b/backend.native/konan.properties @@ -130,6 +130,7 @@ dependencies.linux-raspberrypi = \ quadruple.raspberrypi = armv6-unknown-linux-gnueabihf entrySelector.raspberrypi = --defsym main=Konan_main +linkerDebugFlags.raspberrypi = -S linkerOptimizationFlags.raspberrypi = --gc-sections targetSysRoot.raspberrypi = target-sysroot-1-raspberrypi # We could reuse host toolchain here.