7b39c84375
Thanks Jonathan for elaboration of why it's necessary.
32 lines
1 KiB
Text
32 lines
1 KiB
Text
$NetBSD: patch-configure,v 1.10 2018/02/09 00:01:13 jdolecek Exp $
|
|
|
|
Don't automatically add libgcc on SunOS. Reported upstream as #75941.
|
|
|
|
The meta_ccld removal reported upstream as #75940.
|
|
|
|
--- configure.orig 2018-01-30 10:33:52.000000000 +0000
|
|
+++ configure
|
|
@@ -5461,9 +5461,6 @@ fi
|
|
case $host_alias in
|
|
*solaris*)
|
|
CPPFLAGS="$CPPFLAGS -D_POSIX_PTHREAD_SEMANTICS"
|
|
- if test "${enable_libgcc+set}" != "set" && test "$GCC" = "yes"; then
|
|
- enable_libgcc=yes
|
|
- fi
|
|
;;
|
|
*dgux*)
|
|
CPPFLAGS="$CPPFLAGS -D_BSD_TIMEOFDAY_FLAVOR"
|
|
@@ -96116,12 +96113,7 @@ old_CC=$CC
|
|
if test "$PHP_THREAD_SAFETY" = "yes" && test -n "$ac_cv_pthreads_cflags"; then
|
|
CXXFLAGS="$CXXFLAGS $ac_cv_pthreads_cflags"
|
|
INLINE_CFLAGS="$INLINE_CFLAGS $ac_cv_pthreads_cflags"
|
|
- cat >meta_ccld<<EOF
|
|
-#! /bin/sh
|
|
-exec $CC $ac_cv_pthreads_cflags \$@
|
|
-EOF
|
|
- CC="$abs_builddir/meta_ccld"
|
|
- chmod +x meta_ccld
|
|
+ CPPFLAGS="$CPPFLAGS $ac_cv_pthreads_cflags"
|
|
fi
|
|
|
|
if test "$PHP_THREAD_SAFETY" = "yes" && test "$PHP_MYSQL" = "yes"; then
|