Accepting request 1142252 from devel:libraries:c_c++

OBS-URL: https://build.opensuse.org/request/show/1142252
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/duktape?expand=0&rev=12
This commit is contained in:
Ana Guerrero 2024-01-30 17:23:52 +00:00 committed by Git OBS Bridge
commit 2007e70664
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Jan 24 10:28:23 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Build with distro flags
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Sep 14 06:26:43 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org> Thu Sep 14 06:26:43 UTC 2023 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -58,9 +58,13 @@ application that use %{name}.
%autosetup -p1 %autosetup -p1
%build %build
export LDFLAGS="%{?_lto_cflags}"
export CFLAGS="%{optflags}"
%make_build -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib} %make_build -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
%install %install
export LDFLAGS="%{?_lto_cflags}"
export CFLAGS="%{optflags}"
%make_install -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib} %make_install -f Makefile.sharedlibrary INSTALL_PREFIX=%{_prefix} LIBDIR=/%{_lib}
%ldconfig_scriptlets -n lib%{name}%{sover} %ldconfig_scriptlets -n lib%{name}%{sover}