ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/external/management/libs/libks/patches/04-don_t-override-optimization.patch b/external/management/libs/libks/patches/04-don_t-override-optimization.patch
new file mode 100644
index 0000000..32c5512
--- /dev/null
+++ b/external/management/libs/libks/patches/04-don_t-override-optimization.patch
@@ -0,0 +1,10 @@
+--- a/cmake/ksutil.cmake
++++ b/cmake/ksutil.cmake
+@@ -135,7 +135,6 @@ macro(ksutil_setup_platform)
+ set(KS_PLAT_LIN 1 CACHE INTERNAL "Platform definition" FORCE)
+ set(CMAKE_POSITION_INDEPENDENT_CODE YES)
+
+- add_compile_options("$<$<CONFIG:Release>:-O2>")
+ add_compile_options("$<$<CONFIG:Release>:-g>")
+
+ add_compile_options("$<$<CONFIG:Debug>:-O0>")