Revert "Remove build warnings with gcc 6.2" 26/141526/1
authorGihun Chang <gihun.chang@samsung.com>
Tue, 1 Aug 2017 02:34:51 +0000 (11:34 +0900)
committerGihun Chang <gihun.chang@samsung.com>
Tue, 1 Aug 2017 02:47:41 +0000 (11:47 +0900)
This reverts commit f4dc8f8166d34463ac1cbe4750fcadf5f364fc83.

Change-Id: Ic13032fd562ef5b124e223bada29bd57f89f6b8b

packaging/ttrace.spec

index 8bac505a99fa4436bd94c1d440db8be401ea1881..08f271dc5aa4f7fd6a9951d7eb01f1d7eed6804a 100644 (file)
@@ -52,8 +52,8 @@ T-trace library devel
 %setup -q
 
 %build
-export CFLAGS="$CFLAGS -g -Wall -std=gnu99 -Wimplicit-function-declaration"
-export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie -fno-exceptions -Wunused-result"
+export CFLAGS="$CFLAGS -g -Wall -std=gnu99"
+export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie -fno-exceptions"
 %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}