[packages/musl] override WRAPCC_GCC

glen glen at pld-linux.org
Sun Sep 18 21:45:02 CEST 2016


commit 2628abbe68ad39fb1579016826577e6bb55f64c2
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Sun Sep 18 22:42:28 2016 +0300

    override WRAPCC_GCC
    
    to ensure it's proper if built with __cc=ccache

 musl.spec | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/musl.spec b/musl.spec
index 07c8cb0..66284f0 100644
--- a/musl.spec
+++ b/musl.spec
@@ -2,7 +2,7 @@ Summary:	musl libc - new standard library to power a new generation of Linux-bas
 Summary(pl.UTF-8):	musl libc - nowa biblioteka standardowa dla urządzeń linuksowych nowej generacji
 Name:		musl
 Version:	1.1.15
-Release:	1.2
+Release:	2
 License:	MIT
 Group:		Libraries
 Source0:	http://www.musl-libc.org/releases/%{name}-%{version}.tar.gz
@@ -63,7 +63,11 @@ Pliki programistyczne biblioteki musl libc.
 %build
 %configure \
 	--syslibdir=/%{_lib}
-%{__make}
+
+# WRAPCC_GCC that will be used as $REALGCC fallback in musl-gcc script
+# regardless what is value when this package is built (ccache, etc)
+%{__make} \
+	WRAPCC_GCC="%{_target_platform}-gcc"
 
 %install
 rm -rf $RPM_BUILD_ROOT
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/musl.git/commitdiff/2628abbe68ad39fb1579016826577e6bb55f64c2



More information about the pld-cvs-commit mailing list