initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
36
debian/patches/pr67590.diff
vendored
Normal file
36
debian/patches/pr67590.diff
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
# DP: Fix PR67590, setting objdump macro.
|
||||
|
||||
--- a/src/libcc1/configure.ac
|
||||
+++ b/src/libcc1/configure.ac
|
||||
@@ -74,6 +74,31 @@ if test "$GXX" = yes; then
|
||||
fi
|
||||
AC_SUBST(libsuffix)
|
||||
|
||||
+# Figure out what objdump we will be using.
|
||||
+AS_VAR_SET_IF(gcc_cv_objdump,, [
|
||||
+if test -f $gcc_cv_binutils_srcdir/configure.ac \
|
||||
+ && test -f ../binutils/Makefile \
|
||||
+ && test x$build = x$host; then
|
||||
+ # Single tree build which includes binutils.
|
||||
+ gcc_cv_objdump=../binutils/objdump$build_exeext
|
||||
+elif test -x objdump$build_exeext; then
|
||||
+ gcc_cv_objdump=./objdump$build_exeext
|
||||
+elif ( set dummy $OBJDUMP_FOR_TARGET; test -x $[2] ); then
|
||||
+ gcc_cv_objdump="$OBJDUMP_FOR_TARGET"
|
||||
+else
|
||||
+ AC_PATH_PROG(gcc_cv_objdump, $OBJDUMP_FOR_TARGET)
|
||||
+fi])
|
||||
+
|
||||
+AC_MSG_CHECKING(what objdump to use)
|
||||
+if test "$gcc_cv_objdump" = ../binutils/objdump$build_exeext; then
|
||||
+ # Single tree build which includes binutils.
|
||||
+ AC_MSG_RESULT(newly built objdump)
|
||||
+elif test x$gcc_cv_objdump = x; then
|
||||
+ AC_MSG_RESULT(not found)
|
||||
+else
|
||||
+ AC_MSG_RESULT($gcc_cv_objdump)
|
||||
+fi
|
||||
+
|
||||
dnl Test for -lsocket and -lnsl. Copied from libgo/configure.ac.
|
||||
AC_CACHE_CHECK([for socket libraries], libcc1_cv_lib_sockets,
|
||||
[libcc1_cv_lib_sockets=
|
Reference in New Issue
Block a user