diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-08-22 11:23:30 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2022-08-22 11:23:30 +0200 |
commit | 9ea4e4a1d6a965989dd048986728e60924f49389 (patch) | |
tree | 083d146fd0ce5b7295f3ea4e3404d183fa872a99 /tests | |
parent | 98774e224e130394251f105013d7914e2f49aa9e (diff) |
rpm spec: use --disable-static
Follow what we are doing in other Osmocom rpm packaging by not building
and packaging static libraries.
Fix for rpmlint errors when building for OpenSUSE:
libosmo-gtlv-devel.x86_64: E: static-library-without-debuginfo /usr/lib64/libosmo-gtlv.a
libosmo-pfcp-devel.x86_64: E: static-library-without-debuginfo /usr/lib64/libosmo-pfcp.a
libosmo-gtlv-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libosmo-gtlv.a
libosmo-pfcp-devel.x86_64: E: lto-no-text-in-archive (Badness: 10000) /usr/lib64/libosmo-pfcp.a
(If we wanted to build with static libraries, we would need to use
-ffat-lto-objects to get rid of the second error.)
Related: https://github.com/rpm-software-management/rpmlint/issues/458
Change-Id: I49dd454afd8bd3473bcadbc8cd8724574011f886
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions