summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Stelmach <l.stelmach@samsung.com>2022-12-15 22:01:17 +0100
committerŁukasz Stelmach <l.stelmach@samsung.com>2022-12-15 23:01:23 +0100
commit666de3df1473ee33f3cbed1f74a3cd6584b5d9d0 (patch)
tree1b7f4459620a6bc73d440c3d6b35ad3a043c908d
parent86a87b80ebe4e7e299d68920467c7bbd8952d6a0 (diff)
downloadcmake-accepted/tizen_base_tool.tar.gz
cmake-accepted/tizen_base_tool.tar.bz2
cmake-accepted/tizen_base_tool.zip
Fix build brake when cmake(1) crashes when started from /emul directory. Change-Id: I111c0c2962f19c157edd81c6440d3ea6d19f620f Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
-rw-r--r--packaging/cmake.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/packaging/cmake.spec b/packaging/cmake.spec
index 968fa18e0..7b680e53d 100644
--- a/packaging/cmake.spec
+++ b/packaging/cmake.spec
@@ -40,7 +40,7 @@ cp %{SOURCE1001} .
%{__patch} -p1 < %{SOURCE13}
%build
-export CXXFLAGS="$RPM_OPT_FLAGS"
+export CXXFLAGS="$RPM_OPT_FLAGS -fPIC"
export CFLAGS="$CXXFLAGS"
./configure \
--prefix=%{_prefix} \