diff options
Diffstat (limited to 'pkgs/build-support/gcc-wrapper/setup-hook.sh')
-rw-r--r-- | pkgs/build-support/gcc-wrapper/setup-hook.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/build-support/gcc-wrapper/setup-hook.sh b/pkgs/build-support/gcc-wrapper/setup-hook.sh index 60aad0fe4dc67..76167df3c31cf 100644 --- a/pkgs/build-support/gcc-wrapper/setup-hook.sh +++ b/pkgs/build-support/gcc-wrapper/setup-hook.sh @@ -17,13 +17,13 @@ envHooks=(${envHooks[@]} addCVars) # Note: these come *after* $out in the PATH (see setup.sh). if test -n "@gcc@"; then - PATH=$PATH:@gcc@/bin + addToSearchPath PATH @gcc@/bin fi if test -n "@binutils@"; then - PATH=$PATH:@binutils@/bin + addToSearchPath PATH @binutils@/bin fi if test -n "@libc@"; then - PATH=$PATH:@libc@/bin + addToSearchPath PATH @libc@/bin fi |