aboutsummaryrefslogtreecommitdiff
path: root/gprofng/configure
diff options
context:
space:
mode:
authorVladimir Mezentsev <vladimir.mezentsev@oracle.com>2023-01-17 18:53:38 -0800
committerVladimir Mezentsev <vladimir.mezentsev@oracle.com>2023-01-17 19:10:22 -0800
commit47f72fdba3f8b5d979802303f6d3c0312c931e7d (patch)
tree3206834767805648a6f24f83d86d9945ff484c88 /gprofng/configure
parent493ca3758b3622797779af76880ce5843026a24b (diff)
downloadgdb-47f72fdba3f8b5d979802303f6d3c0312c931e7d.zip
gdb-47f72fdba3f8b5d979802303f6d3c0312c931e7d.tar.gz
gdb-47f72fdba3f8b5d979802303f6d3c0312c931e7d.tar.bz2
Revert "gprofng: PR29987 bfd/archive.c:1447: undefined reference to `filename_ncmp'"
This reverts commit c2a5d74050ea9d7897b4122ef57c627d395683b3.
Diffstat (limited to 'gprofng/configure')
-rwxr-xr-xgprofng/configure11
1 files changed, 9 insertions, 2 deletions
diff --git a/gprofng/configure b/gprofng/configure
index bcf971b..4060431 100755
--- a/gprofng/configure
+++ b/gprofng/configure
@@ -665,6 +665,7 @@ BUILD_COLLECTOR_TRUE
GPROFNG_NO_SWITCH_CFLAGS
gprofng_cflags
WERROR
+GPROFNG_LIBADD
CXXCPP
OTOOL64
OTOOL
@@ -12220,7 +12221,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12223 "configure"
+#line 12224 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12326,7 +12327,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12329 "configure"
+#line 12330 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -15570,6 +15571,12 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+GPROFNG_LIBADD="-L../../libiberty -liberty"
+if test "$enable_shared" = "yes"; then
+ GPROFNG_LIBADD="-L../../libiberty/pic -liberty"
+fi
+
+
# Figure out what compiler warnings we can enable.
# See config/warnings.m4 for details.