[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hylafax build on kfreebsd



Hi!

On Wed, 2010-02-10 at 16:46:38 +0100, Petr Salinger wrote:
> >Just as a reference, this is what is done for linux and solaris targets:
> >   *-linux*)
> >       if [ "X${DIR_LIB}" != "X/usr/lib" ]; then
> >           USE_RPATH=' -Wl,-rpath,${LIBDIR}'
> >       else
> >           USE_RPATH=''
> >       fi
> >       DSOSUF=so
> >       DSOOPTS='-shared -fpic -Wl,-soname,$@'
> >       LLDOPTS=$USE_RPATH
> >       GCOPTS="${GCOPTS} -fpic"
> >       GCXXOPTS="${GCXXOPTS} -fpic"
> >       DSO=LINUX
> 
> >So, my question is: may I use the linux settings on kfreebsd? Should I
> >change anything?
> 
> Yes please, just use
> 
> "*-linux*|*-k*bsd*-gnu*)" instead of "*-linux*)" as these options
> depends on binutils/gcc/eglibc, which are the same on both targets.

Or actually better "*-linux*|*-gnu*)" to catch all GNU based systems.

regrads,
guillem


Reply to: