changeset 3061:6d8116bbf3b2

-rdynamic is only needed on bsd's (well... it was the case in C1) neither linux nor qnx need it and it doesn't help for static compilation too...
author pl
date Thu, 22 Nov 2001 01:56:10 +0000
parents 33989b5b8d02
children 7ea7e5fce639
files configure
diffstat 1 files changed, 4 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Thu Nov 22 00:01:10 2001 +0000
+++ b/configure	Thu Nov 22 01:56:10 2001 +0000
@@ -1093,15 +1093,11 @@
 echores "$_dl"
 
 
-echocheck "dynamic linking"
+#echocheck "dynamic linking"
+_ld_dl_dynamic=''
+bsd && _ld_dl_dynamic='-rdynamic'
 # FIXME !! make this dynamic detection to work
 # also gcc flags are different, but ld flags aren't (-Bdynamic/-Bstatic/-Bsymbolic)
-_ld_dl_dynamic=''
-if qnx ; then
-  _ld_dl_dynamic=''
-else
-  _ld_dl_dynamic='-rdynamic'
-fi
 #cat > $TMPC << EOF
 #int main(void) { return 0; }
 #EOF
@@ -1112,7 +1108,7 @@
 #elif cc_check ; then
 #  _ld_dl_dynamic=''
 #fi
-echores "using $_ld_dl_dynamic"
+#echores "using $_ld_dl_dynamic"
 
 
 echocheck "pthread"
@@ -2363,7 +2359,6 @@
 fi
 
 _ld_arch="${_ld_arch} $_ld_pthread $_ld_dl $_ld_dl_dynamic"
-#bsd && _ld_arch="-rdynamic $_ld_arch"
 bsdos && _ld_arch="$_ld_arch -ldvd"
 
 _def_debug='#undef MP_DEBUG'