We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dontStrip
1 parent b94ea34 commit ff3b316Copy full SHA for ff3b316
builder/comp-builder.nix
@@ -164,8 +164,8 @@ let
164
"--with-ar=${stdenv.cc.bintools.targetPrefix}ar"
165
"--with-strip=${stdenv.cc.bintools.targetPrefix}strip"
166
# other flags
167
- "--enable-executable-stripping"
168
- "--enable-library-stripping"
+ (if dontStrip then "--disable-executable-stripping" else "--enable-executable-stripping")
+ (if dontStrip then "--disable-library-stripping" else "--enable-library-stripping")
169
] ++ lib.optional doHaddock' "--docdir=${docdir "$doc"}"
170
++ lib.optional (deadCodeElimination && stdenv.hostPlatform.isLinux) "--enable-split-sections"
171
++ lib.optional (static) "--enable-static"
0 commit comments