[Slackbuilds-users] template idea: --no-same-owner

fourtysixandtwo fourtysixandtwo at sliderr.net
Mon Aug 17 01:47:37 UTC 2026


Yes, I assumed that it was clear I meant the following given the
sbolint example I used:

-if [ "$ARCH" = "i586" ]; then
-  SLKCFLAGS="-O2 -march=i586 -mtune=i686"
-  LIBDIRSUFFIX=""
-elif [ "$ARCH" = "i686" ]; then
-  SLKCFLAGS="-O2 -march=i686 -mtune=i686"
-  LIBDIRSUFFIX=""
-elif [ "$ARCH" = "x86_64" ]; then
-  SLKCFLAGS="-O2 -fPIC"
-  LIBDIRSUFFIX="64"
-elif [ "$ARCH" = "aarch64" ]; then
-  SLKCFLAGS="-O2 -fPIC"
-  LIBDIRSUFFIX="64"
-else
-  SLKCFLAGS="-O2"
-  LIBDIRSUFFIX=""
-fi
-

On Sun, 16 Aug 2026 at 19:32, Duncan Roe <duncan_roe at optusnet.com.au> wrote:
>
> On Sat, Aug 15, 2026 at 08:32:03PM -0600, fourtysixandtwo wrote:
> > I only remove the ARCH if/elif section if sbolint complains about both
> > not being used.  Not sure it's worth worrying about otherwise.
> >
> You *have* to remove it - `if; then; elif` is a bash syntax error



-- 
_______________________________________________
SlackBuilds-users mailing list
SlackBuilds-users at slackbuilds.org
https://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users
Archives - https://lists.slackbuilds.org/pipermail/slackbuilds-users/
FAQ - https://slackbuilds.org/faq/


More information about the SlackBuilds-users mailing list