forked from pool/ffcall
lto
OBS-URL: https://build.opensuse.org/package/show/devel:languages:misc/ffcall?expand=0&rev=39
This commit is contained in:
parent
7af56fe888
commit
b98aa6e51c
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user