components/gcc3/patches/g++spec.c.patch
author Rich Burridge <rich.burridge@oracle.com>
Tue, 22 Oct 2013 07:03:55 -0700
branchs11-update
changeset 2799 1d47fff1ffff
parent 246 0878f7720e3e
permissions -rw-r--r--
15440739 SUNBT6633578 gzcmp/gzdiff + gznew shell scripts use temporary files unsafely 17601897 The gznew script should have /usr/gnu/bin at the front of its PATH

*** gcc-3.4.3/gcc/cp/g++spec.c.orig	Wed Nov 17 09:59:39 2004
--- gcc-3.4.3/gcc/cp/g++spec.c	Mon Jan 28 13:40:34 2008
***************
*** 310,318 ****
    /* Add `-lstdc++' if we haven't already done so.  */
    if (library > 0)
      {
-       arglist[j++] = saw_m64_flag
- 	? "-R" LIBDIR "/amd64"
- 	: "-R" LIBDIR;
        arglist[j++] = saw_profile_flag ? LIBSTDCXX_PROFILE : LIBSTDCXX;
        added_libraries++;
      }
--- 310,315 ----