[packages/simdjson] keep build files in separate directory

atler atler at pld-linux.org
Wed May 25 17:56:53 CEST 2022


commit 0a7e4031cfbba06a4cda42ad57152b4e6b6b30dc
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed May 25 17:56:09 2022 +0200

    keep build files in separate directory

 simdjson.spec | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/simdjson.spec b/simdjson.spec
index 9894cf3..1021824 100644
--- a/simdjson.spec
+++ b/simdjson.spec
@@ -32,13 +32,13 @@ Header files for simdjson library.
 %setup -q
 
 %build
-%cmake \
+%cmake -B build \
 	-DSIMDJSON_JUST_LIBRARY=ON
-%{__make}
+%{__make} -C build
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/simdjson.git/commitdiff/0a7e4031cfbba06a4cda42ad57152b4e6b6b30dc



More information about the pld-cvs-commit mailing list