summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGihun Chang <gihun.chang@samsung.com>2017-08-01 11:34:51 +0900
committerGihun Chang <gihun.chang@samsung.com>2017-08-01 11:47:41 +0900
commit588065a62fe0082484d4763f7775f69a6bdfd942 (patch)
tree4bc190c651f182daf053a951bc57408131d06fc8
parentc4961eaf64f8a843c90e2813994b6683536985e8 (diff)
downloadttrace-588065a62fe0082484d4763f7775f69a6bdfd942.tar.gz
ttrace-588065a62fe0082484d4763f7775f69a6bdfd942.tar.bz2
ttrace-588065a62fe0082484d4763f7775f69a6bdfd942.zip
Revert "Remove build warnings with gcc 6.2"
This reverts commit f4dc8f8166d34463ac1cbe4750fcadf5f364fc83. Change-Id: Ic13032fd562ef5b124e223bada29bd57f89f6b8b
-rw-r--r--packaging/ttrace.spec4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec
index 8bac505..08f271d 100644
--- a/packaging/ttrace.spec
+++ b/packaging/ttrace.spec
@@ -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}