* warning: implicit declaration of function 'vsnprintf'
[-Wimplicit-function-declaration]
* warning: ignoring return value of 'int system(const char*)',
declared with attribute warn_unused_result [-Wunused-result]
Change-Id: Ie400cc8fea6b99d08ab935198b60ec1767ac75c6
%setup -q
%build
-export CFLAGS="$CFLAGS -g -Wall -std=gnu99"
-export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie -fno-exceptions"
+export CFLAGS="$CFLAGS -g -Wall -std=gnu99 -Wimplicit-function-declaration"
+export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie -fno-exceptions -Wunused-result"
%cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DLIBDIR=%{_libdir} -DINCLUDEDIR=%{_includedir} \
-DTTRACE_PROFILE=%{TTRACE_PROFILE} -DTTRACE_TIZEN_VERSION_MAJOR=%{TTRACE_TIZEN_VERSION_MAJOR}
make %{?jobs:-j%jobs}