]> git.pld-linux.org Git - packages/mold.git/blobdiff - mold.spec
updated passing build flags; rel 2
[packages/mold.git] / mold.spec
index 1aa232a56b3a5783d134f4faf9a3151d7f5ee91b..7860a7872d17998009e6a914dc1a5d2b564a2f7e 100644 (file)
--- 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}" \
This page took 0.070548 seconds and 4 git commands to generate.