|
|
|
@ -105,14 +105,16 @@ class GnuStepDependency(ExternalDependency): |
|
|
|
|
mlog.green('YES'), self.version) |
|
|
|
|
|
|
|
|
|
def weird_filter(self, elems): |
|
|
|
|
"""When building packages, the output of the enclosing Make |
|
|
|
|
is sometimes mixed among the subprocess output. I have no idea |
|
|
|
|
why. As a hack filter out everything that is not a flag.""" |
|
|
|
|
"""When building packages, the output of the enclosing Make is |
|
|
|
|
sometimes mixed among the subprocess output. I have no idea why. As a |
|
|
|
|
hack filter out everything that is not a flag. |
|
|
|
|
""" |
|
|
|
|
return [e for e in elems if e.startswith('-')] |
|
|
|
|
|
|
|
|
|
def filter_args(self, args): |
|
|
|
|
"""gnustep-config returns a bunch of garbage args such |
|
|
|
|
as -O2 and so on. Drop everything that is not needed.""" |
|
|
|
|
"""gnustep-config returns a bunch of garbage args such as -O2 and so |
|
|
|
|
on. Drop everything that is not needed. |
|
|
|
|
""" |
|
|
|
|
result = [] |
|
|
|
|
for f in args: |
|
|
|
|
if f.startswith('-D') \ |
|
|
|
|