projects
/
platform
/
core
/
api
/
peripheral-io.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fb406b
)
packaging: asan: skip Werror=format-truncation=
74/319874/1
sandbox/dkson95/asan
author
Dongkyun Son
<dongkyun.s@samsung.com>
Tue, 5 Nov 2024 04:13:08 +0000
(13:13 +0900)
committer
Dongkyun Son
<dongkyun.s@samsung.com>
Tue, 5 Nov 2024 04:16:52 +0000
(13:16 +0900)
Change-Id: Id6199553b1386705fd586c3cfbdd9bbfa234919e
Signed-off-by: Dongkyun Son <dongkyun.s@samsung.com>
packaging/capi-system-peripheral-io.spec
patch
|
blob
|
history
diff --git
a/packaging/capi-system-peripheral-io.spec
b/packaging/capi-system-peripheral-io.spec
index 8ff648b9e36449000a5c4877296a80c15e45540c..b0c4eb399a697e8e019068c5664a2e97cdb19eab 100644
(file)
--- 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}