diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-29 13:59:20 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-11-29 14:02:11 +0200 |
commit | bdbb7e2535009b2a142567a2235ac0a71352c749 (patch) | |
tree | e0d591f0c78539293edd4566dd1cbdd6d8cbccbe /libbuild2/cc/gcc.cxx | |
parent | f3b876a46c9739c28c1a9e25ce95ec689713038b (diff) |
Reorder {cc,c/cxx}.{poptions,loptions}
Now it is c/cxx first followed by cc which is the reverse order of coptions
since the header/library search paths are examined in the order specified (in
contrast to the "last value wins" semantics that we assume for coptions).
Diffstat (limited to 'libbuild2/cc/gcc.cxx')
-rw-r--r-- | libbuild2/cc/gcc.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libbuild2/cc/gcc.cxx b/libbuild2/cc/gcc.cxx index cf0ccdc..5857709 100644 --- a/libbuild2/cc/gcc.cxx +++ b/libbuild2/cc/gcc.cxx @@ -184,8 +184,8 @@ namespace build2 append_options (args, rs, c_coptions); append_options (args, rs, x_coptions); append_options (args, tstd); - append_options (args, rs, c_loptions); append_options (args, rs, x_loptions); + append_options (args, rs, c_loptions); append_options (args, rs, x_mode); args.push_back ("-print-search-dirs"); args.push_back (nullptr); |