Changeset 5d37f0e in rtems-libbsd for libbsd_waf.py


Ignore:
Timestamp:
Apr 26, 2016, 4:31:38 AM (3 years ago)
Author:
Chris Johns <chrisj@…>
Branches:
fd86c091b97759106da7355ce1dd81ebe030e285, freebsd-9.3, f020f08430150c1656a0ad0a1de13699db9b980b
Children:
fa69a12
Parents:
7d0050d
Message:

waf: Check for no FreeBSD options being supplied.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libbsd_waf.py

    r7d0050d r5d37f0e  
    4242    # Defines
    4343    defines = []
    44     for o in bld.env.FREEBSD_OPTIONS.split(","):
    45         defines += ["%s=1" % (o.strip().upper())]
     44    if len(bld.env.FREEBSD_OPTIONS) > 0:
     45        for o in bld.env.FREEBSD_OPTIONS.split(","):
     46            defines += ["%s=1" % (o.strip().upper())]
    4647
    4748    # Include paths
Note: See TracChangeset for help on using the changeset viewer.