[rtems-source-builder commit] sb: Do not filter -f options from a BSP.

Chris Johns chrisj at rtems.org
Fri Apr 15 02:00:14 UTC 2016


Module:    rtems-source-builder
Branch:    master
Commit:    c98555c5f27bbb899a71e6286d6f1054459e2913
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=c98555c5f27bbb899a71e6286d6f1054459e2913

Author:    Chris Johns <chrisj at rtems.org>
Date:      Fri Apr 15 11:43:21 2016 +1000

sb: Do not filter -f options from a BSP.

---

 source-builder/sb/config.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index f5bd81c..da54ba3 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -462,7 +462,7 @@ class file:
                 if pkg_flags and self.pkgconfig_filter_flags:
                     fflags = []
                     for f in pkg_flags.split():
-                        if not f.startswith('-f') and not f.startswith('-W'):
+                        if not f.startswith('-W'):
                             fflags += [f]
                     pkg_flags = ' '.join(fflags)
                 log.trace('pkgconfig: %s: %s' % (flags, pkg_flags))




More information about the vc mailing list