about summary refs log tree commit diff
path: root/pkgs/development/compilers/gcc/4.8/default.nix
diff options
context:
space:
mode:
authorJohn Ericson <Ericson2314@yahoo.com>2017-12-29 15:44:17 -0500
committerGitHub <noreply@github.com>2017-12-29 15:44:17 -0500
commit52a4a7c3bbb5c60804f232f1f2f74e806632cfa0 (patch)
tree3fbbe2c42e084767384feefbd3afcb52ddd9b9f2 /pkgs/development/compilers/gcc/4.8/default.nix
parent56518ff5ac232b41a96f3c191103e309309cbe9e (diff)
parentbc3a6e260a9fc9924f86c36fc522a996df5d3e26 (diff)
downloadnixlib-52a4a7c3bbb5c60804f232f1f2f74e806632cfa0.tar
nixlib-52a4a7c3bbb5c60804f232f1f2f74e806632cfa0.tar.gz
nixlib-52a4a7c3bbb5c60804f232f1f2f74e806632cfa0.tar.bz2
nixlib-52a4a7c3bbb5c60804f232f1f2f74e806632cfa0.tar.lz
nixlib-52a4a7c3bbb5c60804f232f1f2f74e806632cfa0.tar.xz
nixlib-52a4a7c3bbb5c60804f232f1f2f74e806632cfa0.tar.zst
nixlib-52a4a7c3bbb5c60804f232f1f2f74e806632cfa0.zip
Merge pull request #33167 from bnikolic/mingw32-w64-fix
Mingw_w64 fix to get cross-compilation working again 
Diffstat (limited to 'pkgs/development/compilers/gcc/4.8/default.nix')
-rw-r--r--pkgs/development/compilers/gcc/4.8/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/compilers/gcc/4.8/default.nix b/pkgs/development/compilers/gcc/4.8/default.nix
index 4efac1b26c34..e626abc50d14 100644
--- a/pkgs/development/compilers/gcc/4.8/default.nix
+++ b/pkgs/development/compilers/gcc/4.8/default.nix
@@ -163,13 +163,9 @@ let version = "4.8.5";
           "--enable-threads=win32"
           "--enable-sjlj-exceptions"
           "--enable-hash-synchronization"
-          "--disable-libssp"
+          "--enable-libssp"
           "--disable-nls"
           "--with-dwarf2"
-          # I think noone uses shared gcc libs in mingw, so we better do the same.
-          # In any case, mingw32 g++ linking is broken by default with shared libs,
-          # unless adding "-lsupc++" to any linking command. I don't know why.
-          "--disable-shared"
           # To keep ABI compatibility with upstream mingw-w64
           "--enable-fully-dynamic-string"
         ] else