[Slackbuilds-users] COMPAT32 question

Larry Hajali larryhaja at gmail.com
Sun Jan 4 00:32:37 UTC 2015


Has this been signed off by the SBo admins?  I see that apulse now has the
"[ -e /lib/libc.so.6 ] && COMPAT32="${COMPAT32:-yes}" check in the ready
queue.

--Larry

On Wed, Dec 17, 2014 at 4:53 PM, B Watson <yalhcru at gmail.com> wrote:

> On 12/17/14, Ryan P.C. McQuen <ryan.q at linux.com> wrote:
> > Furthermore, does someone know a better way to perform this check.
> > Maybe I should be relying on checking glibc or gcc ...
>
> That's what I'd do. In the section that checks ARCH:
>
> ...
> elif [ "$ARCH" = "x86_64" ]; then
>   SLKCFLAGS="-O2 -fPIC"
>   LIBDIRSUFFIX="64"
>   [ -e /lib/libc.so.6 ] && COMPAT32="${COMPAT32:-yes}"
> else
> ...
>
> Doing it that way will autodetect, but still allow the user to override
> with COMPAT32=no in the environment. It also avoids the use of find,
> which is kinda slow and heavy.
>
> As to whether it's a good idea... I don't see why not. The existing
> apulse.SlackBuild already has multilib-specific code, this just automates
> enabling it (instead of user having to manually COMPAT32=yes).
> _______________________________________________
> SlackBuilds-users mailing list
> SlackBuilds-users at slackbuilds.org
> http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
> Archives - http://lists.slackbuilds.org/pipermail/slackbuilds-users/
> FAQ - http://slackbuilds.org/faq/
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20150103/7f077665/attachment.html>


More information about the SlackBuilds-users mailing list