summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChangjoon Baek <joon.c.baek@samsung.com>2016-12-19 18:56:38 +0900
committerChangjoon Baek <joon.c.baek@samsung.com>2016-12-20 13:17:20 +0900
commit9dc2704171b9bc5ddb12bbeae30c45bc9dd45e0b (patch)
treee454cfd1f268b93cfddaba76c789371f8591bd71
parenta7c0e05d738abfa6b6edfa3222224aed74d1af6e (diff)
downloadttrace-9dc2704171b9bc5ddb12bbeae30c45bc9dd45e0b.tar.gz
ttrace-9dc2704171b9bc5ddb12bbeae30c45bc9dd45e0b.tar.bz2
ttrace-9dc2704171b9bc5ddb12bbeae30c45bc9dd45e0b.zip
Remove dependancy with libstdc++
The dependancy with libstdc++ existed meaningless. Remove depandancy using "-fno-exceptions" option. Change-Id: I405922988bccebf5760be58586f98f5a392b319e Signed-off-by: Changjoon Baek <joon.c.baek@samsung.com>
-rwxr-xr-xpackaging/ttrace.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/ttrace.spec b/packaging/ttrace.spec
index 89dad62..e4aac41 100755
--- a/packaging/ttrace.spec
+++ b/packaging/ttrace.spec
@@ -51,7 +51,7 @@ T-trace library devel
%build
export CFLAGS="$CFLAGS -g -Wall -std=gnu99"
-export CXXFLAGS="$CXXFLAGS -std=c++0x -fPIE -pie"
+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}