[Tizen] Fix i586 build & add `-gdwarf-4`
authorHyungju Lee <leee.lee@samsung.com>
Tue, 26 Dec 2023 01:17:19 +0000 (10:17 +0900)
committerMikhail Kurinnoi <m.kurinnoi@samsung.com>
Tue, 19 Nov 2024 14:47:37 +0000 (17:47 +0300)
packaging/coreclr-diagnostics.spec

index c557c5f06b386e3997a41189ce6cb03e1102ed00..b794d951b4ef73017f495eda8e60de20e727a903 100755 (executable)
@@ -113,7 +113,7 @@ done
 %endif
 
 %build
-BASE_FLAGS=" --target=%{_host} "
+BASE_FLAGS=" --target=%{_host} -gdwarf-4 "
 
 %ifarch x86_64
 # Even though build architectur is x86_64, it will be running on arm board.
@@ -129,6 +129,7 @@ BASE_FLAGS=" --target=%{_host} "
 %ifarch %{ix86}
 %define _barch  x86
 export CLANG_NO_LIBDIR_SUFFIX=1
+export DOTNET_GCHeapHardLimit=1C0000000
 BASE_FLAGS=$(echo $BASE_FLAGS | sed -e 's/--target=i686/--target=i586/')
 BASE_FLAGS="$BASE_FLAGS -mstackrealign"
 %else