From: Doyoun Kang Date: Tue, 4 Jul 2017 10:04:03 +0000 (+0900) Subject: build: add -Werror-implicit-function-declaration option X-Git-Tag: submit/tizen/20170705.010527^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ebadaeef844e3b10b1990cd7f4505f27c2715c24;p=platform%2Fcore%2Fuifw%2Fe-mod-tizen-effect.git build: add -Werror-implicit-function-declaration option Change-Id: I828a8d3ccc185b05a12dc8496bf4e6a4f221442f --- diff --git a/packaging/e-mod-tizen-effect.spec b/packaging/e-mod-tizen-effect.spec index 753c2a5..2fccba5 100644 --- a/packaging/e-mod-tizen-effect.spec +++ b/packaging/e-mod-tizen-effect.spec @@ -29,7 +29,7 @@ as one module of enlightenment. %build export GC_SECTIONS_FLAGS="-fdata-sections -ffunction-sections -Wl,--gc-sections" -export CFLAGS+=" -Wall -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} -DE_LOGGING=1" +export CFLAGS+=" -Wall -Werror-implicit-function-declaration -g -fPIC -rdynamic ${GC_SECTIONS_FLAGS} -DE_LOGGING=1" export LDFLAGS+=" -Wl,--hash-style=both -Wl,--as-needed -Wl,--rpath=/usr/lib" %autogen