components/gcc48/patches/004-libitm-configure.patch
author Norm Jacobs <Norm.Jacobs@Oracle.COM>
Fri, 21 Mar 2014 00:13:55 -0700
branchs11-update
changeset 2997 6a6348ea8de7
permissions -rw-r--r--
17436986 integrate GCC 4.8.x 17876889 GCC package design is inherently broken 18419497 building R with gcc fails on build 43

# 2013-02-07  Stefan Teleman <[email protected]>
# Do not link statically.
--- gcc-4.8.2/libitm/configure	2013-10-16 00:27:58.000000000 -0700
+++ gcc-4.8.2/libitm/configure	2013-10-17 11:15:49.069290035 -0700
@@ -16388,7 +16388,7 @@
 _ACEOF
 if ac_fn_c_try_run "$LINENO"; then :
                       chktls_save_LDFLAGS="$LDFLAGS"
-      LDFLAGS="-static $LDFLAGS"
+      LDFLAGS="$LDFLAGS"
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
 int main() { return 0; }