Changeset 45ca8cf in rtems-source-builder

Timestamp:
03/02/13 05:08:05 (11 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
4.10, 4.11, 4.9, 5, master
Children:
d7e4900
Parents:
a18e76b
Message:

Conditional macros are defined for true else must be 0 for false.

The RPM spec file will return value for %{?macro:value} if the
macro is defined. This means you need to:

%if %something

%define macro 1

%else

%undefine macro

%endif

which means you have to have more complex tests to check for the macro
and its value. Therefore we support defined as true and defined and
0 as false.

(No files)

Note: See TracChangeset for help on using the changeset viewer.