Changeset 8514d37 in rtems


Ignore:
Timestamp:
Aug 27, 2009, 6:31:31 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
1c360794
Parents:
dfe5b24b
Message:

HACK: filter gcclibdir/* iff _gcclibdir is defined

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/gcc/rpm-install.add

    rdfe5b24b r8514d37  
    3535#!/bin/sh
    3636grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/@tool_target@/(lib|include|sys-root)' \
    37   | grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/@tool_target@/' | %__find_provides
     37  %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/@tool_target@/'} | %__find_provides
    3838EOF
    3939chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-provides
     
    4343#!/bin/sh
    4444grep -E -v '^${RPM_BUILD_ROOT}%{_exec_prefix}/@tool_target@/(lib|include|sys-root)' \
    45   | grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/@tool_target@/' | %__find_requires
     45  %{?_gcclibdir:| grep -v '^${RPM_BUILD_ROOT}%{_gcclibdir}/gcc/@tool_target@/'} | %__find_requires
    4646EOF
    4747chmod +x %{_builddir}/%{name}-%{gcc_rpmvers}/find-requires
Note: See TracChangeset for help on using the changeset viewer.