]> git.pld-linux.org Git - packages/musl.git/blobdiff - musl.spec
add patch for b5db195
[packages/musl.git] / musl.spec
index 249198c68f567fdbd7b4467ac778aa62164ae942..66284f051a8b17c8e3517e1c149a94b3c0b72d2b 100644 (file)
--- a/musl.spec
+++ b/musl.spec
@@ -2,11 +2,12 @@ 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
+Release:       2
 License:       MIT
 Group:         Libraries
 Source0:       http://www.musl-libc.org/releases/%{name}-%{version}.tar.gz
 # Source0-md5: 9590a9d47ee64f220b3c12f7afb864ca
+Patch0:                %{name}-gcc.patch
 URL:           http://www.musl-libc.org/
 BuildRequires: gcc >= 5:3.2
 BuildRequires: zlib-devel
@@ -57,11 +58,16 @@ Pliki programistyczne biblioteki musl libc.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %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.094377 seconds and 4 git commands to generate.