From: Dongsun Lee Date: Thu, 15 Dec 2016 01:51:55 +0000 (+0900) Subject: Fix build with GCC6:add -fgnu89-inline flag to fix "multiple definition" X-Git-Tag: accepted/tizen/common/20161219.152119^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F46%2F104946%2F2;p=platform%2Fupstream%2Fkrb5.git Fix build with GCC6:add -fgnu89-inline flag to fix "multiple definition" Change-Id: Id1a11a6b1b0e3bffd9fda6b6fb27c530c90343e2 Signed-off-by: Dongsun Lee --- diff --git a/packaging/krb5.spec b/packaging/krb5.spec index 7247b19..3f9843f 100644 --- a/packaging/krb5.spec +++ b/packaging/krb5.spec @@ -67,7 +67,7 @@ rm -f src/lib/krb5/krb/deltat.c cd src ./util/reconf LDFLAGS+=" -ldl " -CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC " \ +CFLAGS="$RPM_OPT_FLAGS -I/usr/include/et -fno-strict-aliasing -D_GNU_SOURCE -fPIC -fgnu89-inline " \ ./configure \ --host=%{_host} --build=%{_build} \ --prefix=/usr/lib/mit \