]> git.pld-linux.org Git - packages/ash.git/commitdiff
- testing dietlibc version
authorTomek Orzechowski <orzech@pld-linux.org>
Wed, 11 Sep 2002 11:56:14 +0000 (11:56 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ash.spec -> 1.57

ash.spec

index 17e3e74bde521f0bda69213cbeca407040613a7e..3429f0c04fd78ff79e4d487c5b9a3c5407f6ea9a 100644 (file)
--- a/ash.spec
+++ b/ash.spec
@@ -1,6 +1,10 @@
 # conditional build
 # --without static
+# --with dietlibc (link with dietlibc, implies --without static)
 # Branch: HEAD
+
+%{?_with_dietlibc:%define _without_static 1}
+
 Summary:       Small bourne shell from Berkeley
 Summary(de):   Kleine Bourne-Shell von Berkeley
 Summary(fr):   Shell Bourne rĂ©duit de Berkeley
@@ -35,6 +39,7 @@ Patch17:      %{name}-debian.patch
 Patch18:       %{name}-ppid.patch
 Patch19:       %{name}-freebsd.patch
 Patch20:       %{name}-sighup.patch
+%{?_with_dietlibc:Patch21:     %{name}-dietlibc.patch}
 PreReq:                fileutils
 PreReq:                grep
 %{!?_without_static:BuildRequires:     glibc-static}
@@ -144,9 +149,12 @@ avantaj
 %patch18 -p1
 %patch19 -p1
 %patch20 -p1
+%{?_with_dietlibc:%patch21 -p1}
 
 %build
 
+%{?_with_dietlibc:%define __cc %{_arch}-dietlibc-gcc}
+
 %{!?_without_static:%{__make} OPT_FLAGS="%{rpmcflags}" LDFLAGS="-static %{rpmldflags}"}
 %{!?_without_static:mv -f sh ash.static}
 %{__make} OPT_FLAGS="%{rpmcflags}" LDFLAGS="%{rpmldflags}" CC="%{__cc}"
This page took 0.131072 seconds and 4 git commands to generate.