]> git.pld-linux.org Git - packages/ash.git/commitdiff
- added using %%{rpmldflags}, %%{rpmlclags} macros.
authorkloczek <kloczek@pld-linux.org>
Wed, 25 Apr 2001 11:16:54 +0000 (11:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ash.spec -> 1.35

ash.spec

index 45a716d6fa4a6b68f84966c350807d0e423bf1f7..96f4c17a83012a16edb4f482901ff6b2687bb4ef 100644 (file)
--- a/ash.spec
+++ b/ash.spec
@@ -151,20 +151,16 @@ Version for bootdisk
 %if %{?BOOT:1}%{!?BOOT:0}
 %{__make} \
        OPT_FLAGS="-I/usr/lib/bootdisk%{_includedir} -Os" \
-       LDFLAGS="-nostdlib -s" \
+       LDFLAGS="-nostdlib %{rpmldflags}" \
        LDLIBS="%{_libdir}/bootdisk%{_libdir}/crt0.o %{_libdir}/bootdisk%{_libdir}/libc.a -lgcc"
 mv -f sh ash.BOOT
 %{__make} clean
 %endif
 
 # other
-%{__make} OPT_FLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
-       LDFLAGS="-static %{!?debug:-s}"
+%{__make} OPT_FLAGS="%{rpmlclags}" LDFLAGS="-static %{rpmldflags}"
 mv -f sh ash.static
-%{__make} OPT_FLAGS="%{?debug:-O0 -g}%{!?debug:$RPM_OPT_FLAGS}" \
-       LDFLAGS="%{!?debug:-s}"
-
-
+%{__make} OPT_FLAGS="%{rpmldflags}" LDFLAGS="%{rpmldflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -172,7 +168,7 @@ rm -rf $RPM_BUILD_ROOT
 # BOOT
 %if %{?BOOT:1}%{!?BOOT:0}
 install -d $RPM_BUILD_ROOT/usr/lib/bootdisk/bin
-install -s ash.BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/ash
+install ash.BOOT $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/ash
 ln -s ash $RPM_BUILD_ROOT/usr/lib/bootdisk/bin/sh
 %endif
 
This page took 0.062418 seconds and 4 git commands to generate.