[packages/sbcl] fix overriden CFLAGS; add CPPFLAGS and LDFLAGS
atler
atler at pld-linux.org
Fri May 21 18:17:15 CEST 2021
commit c95f5e143ad0d5f4dc46d2e75d2d495f07c973ef
Author: Jan Palus <atler at pld-linux.org>
Date: Fri May 21 15:07:08 2021 +0200
fix overriden CFLAGS; add CPPFLAGS and LDFLAGS
sbcl.spec | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/sbcl.spec b/sbcl.spec
index d22c94c..e1879c7 100644
--- a/sbcl.spec
+++ b/sbcl.spec
@@ -141,10 +141,13 @@ export GNUMAKE="make"
export SBCL_MAKE_JOBS="%{_smp_mflags}"
export CC="%{__cc}"
export CFLAGS="%{rpmcflags}"
+export CPPFLAGS="%{rpmcppflags}"
+export LDFLAGS="%{rpmldflags}"
%if %{with bootstrap}
export SBCL_HOME=`pwd`/sbcl-bootstrap/lib/sbcl
export PATH=`pwd`/sbcl-bootstrap/bin:${PATH}
%endif
+%{__sed} -i -e 's/^CFLAGS/#CFLAGS/' src/runtime/GNUmakefile
./make.sh \
--prefix=%{_prefix} \
%{?bootstrap_cl:--xc-host=%{bootstrap_cl}}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/sbcl.git/commitdiff/fa2b18a0fff025da33710f2eb99d75186669af73
More information about the pld-cvs-commit
mailing list