From ac6c3443ebd16a49a691ce8a266d691923ae1412 Mon Sep 17 00:00:00 2001 From: Alexander Gorshenev Date: Mon, 26 Feb 2018 15:03:51 +0300 Subject: [PATCH] Gte rid of warnings about enum size for zephyr. --- .../main/kotlin/org/jetbrains/kotlin/konan/target/ClangArgs.kt | 1 + 1 file changed, 1 insertion(+) diff --git a/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/ClangArgs.kt b/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/ClangArgs.kt index 7ed0b7fcc63..31f5c5896ad 100644 --- a/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/ClangArgs.kt +++ b/shared/src/main/kotlin/org/jetbrains/kotlin/konan/target/ClangArgs.kt @@ -89,6 +89,7 @@ class ClangArgs(private val configurables: Configurables) : Configurables by con "-fno-asynchronous-unwind-tables", "-fno-pie", "-fno-pic", + "-fshort-enums", "-nostdinc", // TODO: make it a libGcc property? // We need to get rid of wasm sysroot first.