From ebadaeef844e3b10b1990cd7f4505f27c2715c24 Mon Sep 17 00:00:00 2001 From: Doyoun Kang Date: Tue, 4 Jul 2017 19:04:03 +0900 Subject: [PATCH] build: add -Werror-implicit-function-declaration option Change-Id: I828a8d3ccc185b05a12dc8496bf4e6a4f221442f --- packaging/e-mod-tizen-effect.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.34.1