commit 3ca424be00fa0d12a601242f88e4b89cbd3d6b73
Author: Jan Palus <[email protected]>
Date:   Sun May 5 10:50:14 2024 +0200

    set more options with configure script

 botan2.spec | 13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/botan2.spec b/botan2.spec
index 0afe7c2..fb22cff 100644
--- a/botan2.spec
+++ b/botan2.spec
@@ -145,9 +145,15 @@ Wiązanie Pythona 3.x do biblioteki Botan.
        --prefix=%{_prefix} \
        --libdir=%{_lib} \
        --cc=gcc \
+       --cc-bin="%{__cxx}" \
+       --extra-cxxflags="%{rpmcppflags} %{rpmcxxflags}" \
+       --ldflags="%{rpmldflags}" \
        --os=linux \
        --cpu=%{_arch} \
+       --system-cert-bundle=/etc/certs/ca-certificates.crt \
        %{!?with_static_libs:--disable-static-library} \
+       --no-optimizations \
+       --distribution-info="%distribution" \
        --enable-modules=%{enable_modules} \
        --disable-modules=%{disable_modules} \
 %if %{with python2}
@@ -155,10 +161,7 @@ Wiązanie Pythona 3.x do biblioteki Botan.
 %endif
        %{!?with_apidocs:--without-sphinx}
 
-# (ab)using CXX as an easy way to inject our CXXFLAGS
-%{__make} \
-       CXX="%{__cxx} -pthread" \
-       CXXFLAGS="%{rpmcxxflags}"
+%{__make}
 
 %if %{with apidocs}
 %{__make} docs
@@ -174,8 +177,6 @@ LD_LIBRARY_PATH=. ./botan-test 
--skip-tests=certstor_system,os_utils
 rm -rf $RPM_BUILD_ROOT
 
 %{__make} install \
-       INSTALL_CMD_EXEC="install -p -m 755" \
-       INSTALL_CMD_DATA="install -p -m 644" \
        DESTDIR=$RPM_BUILD_ROOT
 
 %if %{with python2}
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/botan2.git/commitdiff/3ca424be00fa0d12a601242f88e4b89cbd3d6b73

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to