[packages/lmdb] reset OPT flags, add LDFLAGS

atler atler at pld-linux.org
Fri Apr 15 20:54:47 CEST 2022


commit 3ecb54dd6f68d97d3633c9d81aadb793acf77ac7
Author: Jan Palus <atler at pld-linux.org>
Date:   Fri Apr 15 20:53:07 2022 +0200

    reset OPT flags, add LDFLAGS

 lmdb.spec | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
---
diff --git a/lmdb.spec b/lmdb.spec
index 49d6fb1..cb7c4b5 100644
--- a/lmdb.spec
+++ b/lmdb.spec
@@ -95,7 +95,9 @@ Dokumentacja API biblioteki LMDB.
 %build
 %{__make} \
 	CC="%{__cc}" \
-	XCFLAGS="%{rpmcflags} %{rpmcppflags}"
+	OPT= \
+	XCFLAGS="%{rpmcflags} %{rpmcppflags}" \
+	LDFLAGS="%{rpmldflags}"
 
 %if %{with tests}
 rm -rf testdb
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/lmdb.git/commitdiff/3ecb54dd6f68d97d3633c9d81aadb793acf77ac7



More information about the pld-cvs-commit mailing list