]> git.pld-linux.org Git - packages/klibc.git/commitdiff
- make build on sparc64
authortommat <tommat@pld-linux.org>
Tue, 11 Sep 2007 14:13:35 +0000 (14:13 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- introduce verbose bcond

Changed files:
    klibc.spec -> 1.68

klibc.spec

index 6eb94363f9580d33992bcde26aa6df91802e77ce..5e6992fcad1de2b3408a141027e38849d07a62aa 100644 (file)
@@ -1,6 +1,7 @@
 #
 # Conditional build:
 %bcond_without dist_kernel     # build without distribution kernel-headers
+%bcond_with    verbose         # verbose build
 #
 Summary:       Minimalistic libc subset for use with initramfs
 Summary(pl.UTF-8):     Zminimalizowany podzbiór biblioteki C do używania z initramfs
@@ -94,6 +95,11 @@ cd usr/include
 ln -sf /usr/include/asm-generic .
 ln -sf /usr/include/asm .
 ln -sf /usr/include/linux .
+%ifarch sparc64
+ln -sf /usr/include/asm-sparc .
+ln -sf /usr/include/asm-sparc64 .
+%endif
+
 cd ../..
 install -d linux
 ln -sf ../usr/include linux/include
@@ -106,6 +112,7 @@ ln -sf ../usr/include linux/include
        rpm_includedir=%{_includedir}/klibc \
        rpm_libdir=%{_libdir} \
        SHLIBDIR=/%{_lib} \
+       %{?with_verbose:KBUILD_VERBOSE=1} \
        OPTFLAGS="%{rpmcflags} -Os -fomit-frame-pointer -falign-functions=0 \
                -falign-jumps=0 -falign-loops=0 -ffreestanding"
 
This page took 0.066434 seconds and 4 git commands to generate.