From: Pavel Roskin Date: Thu, 29 Jul 1999 23:38:07 +0000 (+0000) Subject: * ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else X-Git-Tag: release-1-3-4~13 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=6e3c4c517d4e04f14bf60c83c975669f41fdf9d0;p=thirdparty%2Flibtool.git * ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else initialised structures are sometimes emitted in the code section. --- diff --git a/ChangeLog b/ChangeLog index a3a2d0f8d..c179c0f75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,9 +1,16 @@ +1999-07-30 Pavel Roskin + + * ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else + initialised structures are sometimes emitted in the code section. + 1999-07-02 Gary V. Vaughan * configure.in: bumped version to 1.3.3a. GNU libtool 1.3.3 was released. + * config.sub: updated from common. + * config.guess: ditto. * NEWS: inserted todays date. * configure.in: bumped version to 1.3.3. diff --git a/configure.in b/configure.in index 51086408e..c21aac014 100644 --- a/configure.in +++ b/configure.in @@ -2,7 +2,7 @@ dnl Process this file with autoconf to create configure. AC_INIT(ltmain.in) -AM_INIT_AUTOMAKE(libtool, 1.3.3a) +AM_INIT_AUTOMAKE(libtool, 1.3.3) # This is a sanity check so we can see which version is used in bug reports. # It is assumed that we only want to see the date extension for cvs libtool diff --git a/ltmain.in b/ltmain.in index b0a499180..b617956ed 100644 --- a/ltmain.in +++ b/ltmain.in @@ -2602,6 +2602,11 @@ static const void *lt_preloaded_setup() { case "$compile_command " in *" -static "*) ;; *) pic_flag_for_symtable=" $pic_flag -DPIC -DFREEBSD_WORKAROUND";; + esac;; + *-*-hpux*) + case "$compile_command " in + *" -static "*) ;; + *) pic_flag_for_symtable=" $pic_flag -DPIC";; esac esac