The linker -S flag to omit unnecessary symbols from the final binary

was missing for raspberrypi.
This commit is contained in:
Alexander Gorshenev
2017-09-20 15:28:19 +03:00
committed by alexander-gorshenev
parent 6f35524190
commit 298820612c
+1
View File
@@ -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.