On 04.01.2022 01:28, atler wrote:
commit fdd1f34fd3fc3d656d911259d6bf45d156673813
Author: Jan Palus <at...@pld-linux.org>
Date: Tue Jan 4 00:27:35 2022 +0100
include explicit target during install on x32
greetd.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/greetd.spec b/greetd.spec
index 50b039e..e214165 100644
--- a/greetd.spec
+++ b/greetd.spec
@@ -29,6 +29,12 @@ Requires: greetd(greeter)
Provides: user(greetd-greeter)
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+%ifarch x32
+%define cargo_outdir target/x86_64-unknown-linux-gnux32
+%else
+%define cargo_outdir target
+%endif
maybe instead update macros to have symmetric output dir for all targets?
--target <TRIPLE>... Build for the target triple
--target-dir <DIRECTORY> Directory for all generated artifacts
_______________________________________________
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en