* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else

initialised structures are sometimes emitted in the code section.
This commit is contained in:
Pavel Roskin 1999-07-29 23:28:06 +00:00 committed by Gary V. Vaughan
parent 48dc53d227
commit 320240e999
2 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,8 @@
1999-07-30 Pavel Roskin <pavel_roskin@geocities.com>
* ltmain.in: Ensure that gcc on HPsUX uses -fPIC, or else
initialised structures are sometimes emitted in the code section.
1999-07-30 Mumit Khan <khan@xraylith.wisc.edu>
* ltconfig.in: Read line at a time to avoid tokenisation by

View File

@ -3412,6 +3412,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