diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-04 17:02:04 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-04 17:02:04 +0100 |
commit | 98dfa5322872465f6c2634157df8ffcd83ac9a32 (patch) | |
tree | cb022326e14c5e6fada473b0d844e37ef3c0f7a3 /tools/waflib.patch | |
parent | 53a97515328c5cea1da0d2ef2001fc5890ca7a95 (diff) |
add missing file (2de4e1d)
Diffstat (limited to 'tools/waflib.patch')
-rw-r--r-- | tools/waflib.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/waflib.patch b/tools/waflib.patch new file mode 100644 index 0000000000..c5f2f18c83 --- /dev/null +++ b/tools/waflib.patch @@ -0,0 +1,13 @@ +diff --git a/waflib/Tools/c_config.py b/waflib/Tools/c_config.py +index ee1c5c2..0672f3d 100644 +--- a/waflib/Tools/c_config.py ++++ b/waflib/Tools/c_config.py +@@ -150,6 +150,8 @@ def parse_flags(self, line, uselib, env=None, force_static=False): + elif st == '-L': + if not ot: ot = lst.pop(0) + appu('LIBPATH_' + uselib, [ot]) ++ elif x.startswith('-std=c++'): ++ app('CXXFLAGS_' + uselib, [x]) + elif x == '-pthread' or x.startswith('+') or x.startswith('-std'): + app('CFLAGS_' + uselib, [x]) + app('CXXFLAGS_' + uselib, [x]) |