Skip to content

Commit 9cedf1b

Browse files
committed
gcc 5: Change the cross MinGW static-stage options back because GCC was having trouble finding the headers.
1 parent 94f6692 commit 9cedf1b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

pkgs/development/compilers/gcc/5/default.nix

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@ let version = "5.4.0";
149149
withFloat +
150150
withMode +
151151
(if crossMingw && crossStageStatic then
152-
" --with-sysroot=${libcCross}" +
153-
" --with-native-system-header-dir=/include" +
152+
" --with-headers=${libcCross}/include" +
154153
" --with-gcc" +
155154
" --with-gnu-as" +
156155
" --with-gnu-ld" +

0 commit comments

Comments
 (0)