From: Jaehoon Chung Date: Thu, 23 May 2024 23:54:37 +0000 (+0900) Subject: TIZEN: Tizen-Base-RISCV: Update project_config X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F92%2F311692%2F1;p=scm%2Fmeta%2Fqb.git TIZEN: Tizen-Base-RISCV: Update project_config Update project_config Change-Id: I26e4af542d884b39e1b19051c088ce1c62cb02bc Signed-off-by: Jaehoon Chung --- diff --git a/TIZEN/Tizen/Tizen-Base-RISCV/project_config b/TIZEN/Tizen/Tizen-Base-RISCV/project_config index 91f0f4c..5a50e80 100644 --- a/TIZEN/Tizen/Tizen-Base-RISCV/project_config +++ b/TIZEN/Tizen/Tizen-Base-RISCV/project_config @@ -254,3 +254,26 @@ Optflags: aarch64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -ma Optflags: i686 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m32 -march=i686 -mtune=i686 -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -mstackrealign -Wl,-z,noseparate-code Optflags: x86_64 %{__global_cflags} -feliminate-unused-debug-types --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer Optflags: riscv64 %{__global_cflags} -feliminate-unused-debug-types -Wformat -mabi=lp64d -march=rv64gc + +#### Enable ASan for the project +%define asan 1 +Macros: +%asan 1 +:Macros + +### To Disable ASAN - Workaround #### +### Disabled about packages of base-tool ### +Macros: +%asan_incompatible_pkgs acl attr autoconf autoconf-archive automake bash binutils binutils-aarch64 binutils-armv7l binutils-armv7hl bison build build-compare bzip2 coreutils cpio db4 diffutils e2fsprogs elfutils expat fdupes file filesystem findutils flex gawk gdbm gettext glibc gmp grep gzip help2man hostname intltool less libcap libffi libtool libunistring libxml2 libzio linux-glibc-devel lua m4 make ncurses net-tools nspr nss openssl1.1 pam patch pcre perl perl-gettext perl-XML-Parser pkg-config popt procps-ng python python3 python3-base qemu-linux-user readline rpm sed setup smack sqlite tar texinfo tzdata update-alternatives uthash util-linux which xz zip zlib autogen cmake dash dejagnu expect icecream libarchive libgc libgcrypt libgpg-error libunwind libxslt llvm patchelf python-appdirs python-magic python-packaging python-pyparsing python-setuptools python-six rpmlint rpmlint-mini rpmlint-tizen shadow-utils tcl unzip vim qemu-accel qemu-accel-aarch64 qemu-accel-armv7l qemu-accel-armv7hl python-ply zstd pbzip2 icu groff nghttp2 +:Macros + +Preinstall: asan-build-env libasan libstdc++ +Preinstall: asan-force-options findutils +RunScripts: libasan +RunScripts: asan-build-env +RunScripts: asan-force-options + +Macros: +%__spec_check_pre exit 0 +%run_check_section 0 +:Macros