From a88169cd39726a320da82a40ebc4cb59192a2407 Mon Sep 17 00:00:00 2001 From: Dongsun Lee Date: Thu, 15 Dec 2016 09:51:01 +0900 Subject: [PATCH] Fix build with GCC6:use c89 explicitly Change-Id: I18145bf47c3e7183c833651faccfd627e6699c67 Signed-off-by: Dongsun Lee --- packaging/nettle.spec | 1 + 1 file changed, 1 insertion(+) diff --git a/packaging/nettle.spec b/packaging/nettle.spec index 4eb9264..b086dcc 100644 --- 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 -- 2.7.4