File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1773,17 +1773,17 @@ impl Build {
1773
1773
cmd. push_cc_arg ( format ! ( "-std{}{}" , separator, std) . into ( ) ) ;
1774
1774
}
1775
1775
1776
+ for directory in self . include_directories . iter ( ) {
1777
+ cmd. args . push ( "-I" . into ( ) ) ;
1778
+ cmd. args . push ( directory. as_os_str ( ) . into ( ) ) ;
1779
+ }
1780
+
1776
1781
if let Ok ( flags) = self . envflags ( if self . cpp { "CXXFLAGS" } else { "CFLAGS" } ) {
1777
1782
for arg in flags {
1778
1783
cmd. push_cc_arg ( arg. into ( ) ) ;
1779
1784
}
1780
1785
}
1781
1786
1782
- for directory in self . include_directories . iter ( ) {
1783
- cmd. args . push ( "-I" . into ( ) ) ;
1784
- cmd. args . push ( directory. as_os_str ( ) . into ( ) ) ;
1785
- }
1786
-
1787
1787
// If warnings and/or extra_warnings haven't been explicitly set,
1788
1788
// then we set them only if the environment doesn't already have
1789
1789
// CFLAGS/CXXFLAGS, since those variables presumably already contain
You can’t perform that action at this time.
0 commit comments