SHA256
1
0
forked from pool/ffcall
Dr. Werner Fink 2019-09-12 15:51:03 +00:00 committed by Git OBS Bridge
parent 7af56fe888
commit b98aa6e51c
2 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,11 @@ Thu Sep 12 13:52:51 UTC 2019 - Andreas Schwab <schwab@suse.de>
- Add riscv64 to ffcall_arches
-------------------------------------------------------------------
Tue Sep 10 20:17:14 UTC 2019 - Christophe Giboudeaux <christophe@krop.fr>
- Use -ffat-lto-objects when building static libraries.
-------------------------------------------------------------------
Mon Aug 26 07:22:29 UTC 2019 - Dr. Werner Fink <werner@suse.de>

View File

@ -27,9 +27,9 @@ Name: ffcall
Version: 2.2
Release: 0
Summary: Libraries for foreign function call interfaces
# As this package only provides a static library together with the header files
License: GPL-2.0-or-later
Group: Development/Libraries/Other
# As this package only provides a static library together with the header files
Provides: %{name}-devel = %version-%release
Url: https://www.gnu.org/software/libffcall/
# https://git.savannah.gnu.org/cgit/libffcall.git/snapshot/libffcall-<version>.tar.gz
@ -83,6 +83,7 @@ fi
find . -name \*.o | xargs rm -f
%build
%global _lto_cflags %{_lto_cflags} -ffat-lto-objects
export CFLAGS="%{optflags} -g -fPIC -fno-strict-aliasing"
export STRIP=true STRIPPROG=true
%configure --disable-rpath --with-gnu-ld --enable-thread=posix