mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 07:13:23 +01:00
Get rid of tabs
This commit is contained in:
parent
bdf34e9059
commit
f1efeb4b3c
1 changed files with 5 additions and 5 deletions
|
@ -33,7 +33,7 @@ if test "$noSysDirs" = "1"; then
|
||||||
|
|
||||||
# The path to the Glibc binaries such as `crti.o'.
|
# The path to the Glibc binaries such as `crti.o'.
|
||||||
glibc_libdir="$(cat $NIX_GCC/nix-support/orig-libc)/lib"
|
glibc_libdir="$(cat $NIX_GCC/nix-support/orig-libc)/lib"
|
||||||
|
|
||||||
else
|
else
|
||||||
# Hack: support impure environments.
|
# Hack: support impure environments.
|
||||||
extraFlags="-isystem /usr/include"
|
extraFlags="-isystem /usr/include"
|
||||||
|
@ -50,10 +50,10 @@ if test "$noSysDirs" = "1"; then
|
||||||
# bootstrap compiler are optimized and (optionally) contain
|
# bootstrap compiler are optimized and (optionally) contain
|
||||||
# debugging information (info "(gccinstall) Building").
|
# debugging information (info "(gccinstall) Building").
|
||||||
if test -n "$dontStrip"; then
|
if test -n "$dontStrip"; then
|
||||||
extraFlags="-O2 -g $extraFlags"
|
extraFlags="-O2 -g $extraFlags"
|
||||||
else
|
else
|
||||||
# Don't pass `-g' at all; this saves space while building.
|
# Don't pass `-g' at all; this saves space while building.
|
||||||
extraFlags="-O2 $extraFlags"
|
extraFlags="-O2 $extraFlags"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
EXTRA_FLAGS="$extraFlags"
|
EXTRA_FLAGS="$extraFlags"
|
||||||
|
@ -213,7 +213,7 @@ postInstall() {
|
||||||
# previous gcc.
|
# previous gcc.
|
||||||
rm -rf $out/libexec/gcc/*/*/install-tools
|
rm -rf $out/libexec/gcc/*/*/install-tools
|
||||||
rm -rf $out/lib/gcc/*/*/install-tools
|
rm -rf $out/lib/gcc/*/*/install-tools
|
||||||
|
|
||||||
# More dependencies with the previous gcc or some libs (gccbug stores the build command line)
|
# More dependencies with the previous gcc or some libs (gccbug stores the build command line)
|
||||||
rm -rf $out/bin/gccbug
|
rm -rf $out/bin/gccbug
|
||||||
# Take out the bootstrap-tools from the rpath, as it's not needed at all having $out
|
# Take out the bootstrap-tools from the rpath, as it's not needed at all having $out
|
||||||
|
|
Loading…
Reference in a new issue