Fix build with GCC6:use c89 explicitly
[platform/upstream/nettle.git] / packaging / nettle.spec
index 4eb9264..b086dcc 100644 (file)
@@ -61,6 +61,7 @@ operations using the nettle library.
 cp %{SOURCE1001} .
 
 %build
+export CFLAGS="$CFLAGS -std=c89"
 %if "%{asan}" == "1"
 %restore_fcommon
 %endif