projects
/
platform
/
upstream
/
nettle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix build with GCC6:use c89 explicitly
[platform/upstream/nettle.git]
/
packaging
/
nettle.spec
diff --git
a/packaging/nettle.spec
b/packaging/nettle.spec
index
4eb9264
..
b086dcc
100644
(file)
--- a/
packaging/nettle.spec
+++ b/
packaging/nettle.spec
@@
-61,6
+61,7
@@
operations using the nettle library.
cp %{SOURCE1001} .
%build
+export CFLAGS="$CFLAGS -std=c89"
%if "%{asan}" == "1"
%restore_fcommon
%endif