2009-09-19 20:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)

* bin/hb-mkdyn.sh
  * bin/postinst.sh
    % Deleted -fPIC option from dynlib link command. It's not needed 
      if there are no .c input files.
This commit is contained in:
Viktor Szakats
2009-09-19 18:32:45 +00:00
parent 48018d9896
commit fac2acdf0d
3 changed files with 8 additions and 2 deletions

View File

@@ -17,6 +17,12 @@
past entries belonging to author(s): Viktor Szakats.
*/
2009-09-19 20:32 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* bin/hb-mkdyn.sh
* bin/postinst.sh
% Deleted -fPIC option from dynlib link command. It's not needed
if there are no .c input files.
2009-09-19 20:17 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* mpkg_tgz.sh
* bin/postinst.sh

View File

@@ -148,7 +148,7 @@ else
#FULLNAME="${BASE}-${VERSION}${SLIB_EXT}"
#FULLNAME="${BASE}{SLIB_EXT}.${VERSION}"
FULLNAME="${LIB_NAME}${SLIB_EXT}"
${HB_CCPATH}${HB_CCPREFIX}gcc -shared -fPIC -o "${FULLNAME}" $OBJLST ${linker_options} ${HB_USER_DFLAGS} && \
${HB_CCPATH}${HB_CCPREFIX}gcc -shared -o "${FULLNAME}" $OBJLST ${linker_options} ${HB_USER_DFLAGS} && \
cd "${dir}" && \
mv -f "${OTMPDIR}/${FULLNAME}" "${DSTDIR}${FULLNAME}"
fi

View File

@@ -95,7 +95,7 @@ then
lnopt="-KPIC"
fi
[ "$HB_BUILD_OPTIM" = "no" ] || lnopt="-fast -xnolibmopt $lnopt"
sed -e "s/gcc -shared -fPIC/suncc -G ${lnopt} ${HB_ISAOPT}/g" \
sed -e "s/gcc -shared/suncc -G ${lnopt} ${HB_ISAOPT}/g" \
"${hb_root}/bin/hb-mkdyn.sh" > "${hb_mkdyn}" && \
chmod 755 "${hb_mkdyn}"
elif [ "${HB_PLATFORM}" = "sunos" ] || \