components/gcc48/patches/004-libitm-configure.patch
author John Beck <John.Beck@Oracle.COM>
Thu, 27 Aug 2015 11:04:29 -0700
changeset 4818 058cb786874f
parent 1561 3b427cd1199e
permissions -rw-r--r--
21699326 Userland package history simplification (fix x86-only oversight)

# 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; }