diff options
author | Chris Johns <chrisj@rtems.org> | 2016-02-19 14:46:15 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2016-02-19 14:51:28 +1100 |
commit | 7148caeb916b8f9bde0bbce86a32f5daf6a1e6ad (patch) | |
tree | d7d9053f14437136550acc01406e654632c42507 /linkers | |
parent | de1beea245bd18cb9eadfb7dbaea6572269a97cd (diff) |
Add Windows specific waf support for MSYS2.
Limit the compilers used to gcc and clang. Clang has not been tested.
Users with MSVC install does not need to remove now.
Force the os.sep path to the standard '\\' on Windows. The MSYS2 python
sets it to '/' for internal project reasons. Doing this does cause waf
problems when running configure so only do this for the build target.
Closes #2583.
Diffstat (limited to 'linkers')
-rw-r--r-- | linkers/wscript | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/linkers/wscript b/linkers/wscript index 8f56752..70a1571 100644 --- a/linkers/wscript +++ b/linkers/wscript @@ -33,6 +33,9 @@ # import sys +def init(ctx): + pass + def options(opt): opt.load('compiler_c') opt.load('compiler_cxx') |