Fix build with GCC6:add -fgnu89-inline flag to fix "multiple definition" 46/104946/2 accepted/tizen_common accepted/tizen_ivi accepted/tizen_mobile accepted/tizen_tv accepted/tizen_wearable sandbox/b.grzelewski/tizen accepted/tizen/common/20161219.152119 accepted/tizen/ivi/20161220.222800 accepted/tizen/mobile/20161220.222707 accepted/tizen/tv/20161220.222725 accepted/tizen/unified/20170309.035716 accepted/tizen/wearable/20161220.222743 submit/tizen/20161219.052010 submit/tizen_unified/20170308.100413
authorDongsun Lee <ds73.lee@samsung.com>
Thu, 15 Dec 2016 01:51:55 +0000 (10:51 +0900)
committerDongsun Lee <ds73.lee@samsung.com>
Mon, 19 Dec 2016 05:13:45 +0000 (14:13 +0900)
Change-Id: Id1a11a6b1b0e3bffd9fda6b6fb27c530c90343e2
Signed-off-by: Dongsun Lee <ds73.lee@samsung.com>
packaging/krb5.spec

index 7247b19..3f9843f 100644 (file)
@@ -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 \