build: add -Werror-implicit-function-declaration option 94/137094/1 accepted/tizen/unified/20170707.154420 submit/tizen/20170705.010527 submit/tizen/20170705.015808
authorDoyoun Kang <doyoun.kang@samsung.com>
Tue, 4 Jul 2017 10:04:03 +0000 (19:04 +0900)
committerDoyoun Kang <doyoun.kang@samsung.com>
Tue, 4 Jul 2017 10:04:03 +0000 (19:04 +0900)
Change-Id: I828a8d3ccc185b05a12dc8496bf4e6a4f221442f

packaging/e-mod-tizen-effect.spec

index 753c2a5..2fccba5 100644 (file)
@@ -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