Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 540092 | Differences between
and this patch

Collapse All | Expand All

(-)a/hints/darwin.sh (-3 / +2 lines)
Lines 137-143 if [ "X`echo | ${cc} -no-cpp-precomp -E - 2>&1 >/dev/null`" = "X" ]; then Link Here
137
fi
137
fi
138
138
139
# Known optimizer problems.
139
# Known optimizer problems.
140
case "`cc -v 2>&1`" in
140
case "`${cc:-gcc} -v 2>&1`" in
141
  *"3.1 20020105"*) toke_cflags='optimize=""' ;;
141
  *"3.1 20020105"*) toke_cflags='optimize=""' ;;
142
esac
142
esac
143
143
Lines 168-174 esac Link Here
168
168
169
# Allow the user to override ld, but modify it as necessary below
169
# Allow the user to override ld, but modify it as necessary below
170
case "$ld" in
170
case "$ld" in
171
    '') case "$cc" in
171
    '') case "${cc:-gcc}" in
172
        # If the cc is explicitly something else than cc (or empty),
172
        # If the cc is explicitly something else than cc (or empty),
173
        # set the ld to be that explicitly something else.  Conversely,
173
        # set the ld to be that explicitly something else.  Conversely,
174
        # if the cc is 'cc' (or empty), set the ld to be 'cc'.
174
        # if the cc is 'cc' (or empty), set the ld to be 'cc'.
175
- 

Return to bug 540092