b7de4d37eb
Copy from Base:System/glibc based on submit request 27940 from user dirkmueller OBS-URL: https://build.opensuse.org/request/show/27940 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/glibc?expand=0&rev=14
45 lines
1.4 KiB
Diff
45 lines
1.4 KiB
Diff
Index: configure.in
|
|
===================================================================
|
|
--- configure.in.orig
|
|
+++ configure.in
|
|
@@ -1395,7 +1395,7 @@ EOF
|
|
fi
|
|
fi
|
|
fi
|
|
- rm -f conftest.[cs]
|
|
+ rm -f conftest*
|
|
])
|
|
if test $libc_cv_visibility_attribute != yes; then
|
|
AC_MSG_ERROR(compiler support for visibility attribute is required)
|
|
@@ -1411,7 +1411,7 @@ EOF
|
|
int bar (int x) { return x; }
|
|
EOF
|
|
libc_cv_broken_visibility_attribute=yes
|
|
- if AC_TRY_COMMAND(${CC-cc} -Werror -S conftest.c -o conftest.s1>&AS_MESSAGE_LOG_FD); then
|
|
+ if AC_TRY_COMMAND(${CC-cc} -Werror -S conftest.c -o conftest.s >&AS_MESSAGE_LOG_FD); then
|
|
changequote(,)dnl
|
|
if grep '\.hidden[ _]foo' conftest.s >/dev/null; then
|
|
changequote([,])dnl
|
|
Index: configure
|
|
===================================================================
|
|
--- configure.orig
|
|
+++ configure
|
|
@@ -6272,7 +6272,7 @@ EOF
|
|
fi
|
|
fi
|
|
fi
|
|
- rm -f conftest.cs
|
|
+ rm -f conftest*
|
|
|
|
fi
|
|
{ $as_echo "$as_me:$LINENO: result: $libc_cv_visibility_attribute" >&5
|
|
@@ -6296,7 +6296,7 @@ else
|
|
int bar (int x) { return x; }
|
|
EOF
|
|
libc_cv_broken_visibility_attribute=yes
|
|
- if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s1>&5'
|
|
+ if { ac_try='${CC-cc} -Werror -S conftest.c -o conftest.s >&5'
|
|
{ (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
|
|
(eval $ac_try) 2>&5
|
|
ac_status=$?
|