[packages/mold] updated passing build flags; rel 2

atler atler at pld-linux.org
Wed Jan 26 10:07:25 CET 2022


commit 5c950940f402160d5bead234ece6e2752fe6a03c
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Jan 26 10:05:29 2022 +0100

    updated passing build flags; rel 2

 mold.spec | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/mold.spec b/mold.spec
index 1aa232a..7860a78 100644
--- a/mold.spec
+++ b/mold.spec
@@ -1,7 +1,7 @@
 Summary:	mold: A Modern Linker
 Name:		mold
 Version:	1.0.2
-Release:	1
+Release:	2
 License:	GPL v3+
 Group:		Development/Libraries
 Source0:	https://github.com/rui314/mold/archive/v%{version}/%{name}-%{version}.tar.gz
@@ -30,13 +30,12 @@ especially in rapid debug-edit-rebuild cycles.
 %{__rm} -r third-party/{mimalloc,tbb}
 
 %build
-export CPPFLAGS="%{rpmcppflags}"
-export CFLAGS="%{rpmcflags}"
-export CXXFLAGS="%{rpmcxxflags}"
-export LDFLAGS="%{rpmldflags}"
 %{__make} \
 	CC="%{__cc}" \
 	CXX="%{__cxx}" \
+	CFLAGS="%{rpmcppflags} %{rpmcflags}" \
+	CXXFLAGS="%{rpmcppflags} %{rpmcxxflags}" \
+	LDFLAGS="%{rpmldflags}" \
 	SYSTEM_MIMALLOC=1 \
 	SYSTEM_TBB=1 \
 	PREFIX="%{_prefix}" \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mold.git/commitdiff/5c950940f402160d5bead234ece6e2752fe6a03c



More information about the pld-cvs-commit mailing list