mirror of
https://git.rtems.org/rtems-libbsd/
synced 2025-10-19 01:55:49 +08:00
waf: Check for no FreeBSD options being supplied.
This commit is contained in:
@@ -41,8 +41,9 @@ def build(bld):
|
||||
|
||||
# Defines
|
||||
defines = []
|
||||
for o in bld.env.FREEBSD_OPTIONS.split(","):
|
||||
defines += ["%s=1" % (o.strip().upper())]
|
||||
if len(bld.env.FREEBSD_OPTIONS) > 0:
|
||||
for o in bld.env.FREEBSD_OPTIONS.split(","):
|
||||
defines += ["%s=1" % (o.strip().upper())]
|
||||
|
||||
# Include paths
|
||||
includes = []
|
||||
|
Reference in New Issue
Block a user