]> git.pld-linux.org Git - packages/musl.git/commitdiff
override WRAPCC_GCC
authorElan Ruusamäe <glen@delfi.ee>
Sun, 18 Sep 2016 19:42:28 +0000 (22:42 +0300)
committerElan Ruusamäe <glen@delfi.ee>
Sun, 18 Sep 2016 19:42:44 +0000 (22:42 +0300)
to ensure it's proper if built with __cc=ccache

musl.spec

index 07c8cb049d24f1e142ec938c9c23b09d54fb34fb..66284f051a8b17c8e3517e1c149a94b3c0b72d2b 100644 (file)
--- 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
This page took 0.124572 seconds and 4 git commands to generate.