From: Dongsun Lee Date: Thu, 15 Dec 2016 00:51:01 +0000 (+0900) Subject: Fix build with GCC6:use c89 explicitly X-Git-Tag: accepted/tizen/common/20161220.190651^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a88169cd39726a320da82a40ebc4cb59192a2407;hp=d0dce7ec96e5b694deab4c21e93f644560f79375;p=platform%2Fupstream%2Fnettle.git Fix build with GCC6:use c89 explicitly Change-Id: I18145bf47c3e7183c833651faccfd627e6699c67 Signed-off-by: Dongsun Lee --- 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