diff options
author | Dongkyun Son <dongkyun.s@samsung.com> | 2024-11-05 13:13:08 +0900 |
---|---|---|
committer | Dongkyun Son <dongkyun.s@samsung.com> | 2024-11-05 13:16:52 +0900 |
commit | 34c74caead83586d3fd56bc59327388407dffcf5 (patch) | |
tree | bb829c2642a91d4d41c1da6dfd681a37a01750ac | |
parent | 3fb406bb0afa6236af3e1951b692e9549f5fb12d (diff) | |
download | peripheral-io-sandbox/dkson95/asan.tar.gz peripheral-io-sandbox/dkson95/asan.tar.bz2 peripheral-io-sandbox/dkson95/asan.zip |
packaging: asan: skip Werror=format-truncation=tizensandbox/dkson95/asan
Change-Id: Id6199553b1386705fd586c3cfbdd9bbfa234919e
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
-rw-r--r-- | packaging/capi-system-peripheral-io.spec | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packaging/capi-system-peripheral-io.spec b/packaging/capi-system-peripheral-io.spec index 8ff648b..b0c4eb3 100644 --- a/packaging/capi-system-peripheral-io.spec +++ b/packaging/capi-system-peripheral-io.spec @@ -52,6 +52,10 @@ cp %{SOURCE11} . cp %{SOURCE12} . %build +%{?asan: +export CFLAGS+=" -Wno-format-truncation " +export CXXFLAGS+=" -Wno-format-truncation " +} MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %cmake . -DMAJORVER=${MAJORVER} -DFULLVER=%{version} -DGCOV=%{gcov} |