diff options
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 |
commit | 666de3df1473ee33f3cbed1f74a3cd6584b5d9d0 (patch) | |
tree | 1b7f4459620a6bc73d440c3d6b35ad3a043c908d | |
parent | 86a87b80ebe4e7e299d68920467c7bbd8952d6a0 (diff) | |
download | cmake-accepted/tizen_base_tool.tar.gz cmake-accepted/tizen_base_tool.tar.bz2 cmake-accepted/tizen_base_tool.zip |
packaging: Add -fPICsubmit/tizen_base/20221215.233532accepted/tizen/base/tool/20221216.130300sandbox/backup/cmake_3.21.3_20230106accepted/tizen_base_tool
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.spec | 2 |
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} \ |