[Slackbuilds-users] SLKCFLAGS and qmake/make
Marco Moock
mm at dorfdsl.de
Thu Jul 23 10:16:47 UTC 2026
Hello!
I am currently creating a Slackbuild that uses qmake and then make.
sbolint complains that SLKCFLAGS is not being used.
if [ "$ARCH" = "i586" ]; then
SLKCFLAGS="-O2 -march=i586 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
elif [ "$ARCH" = "aarch64" ]; then
SLKCFLAGS="-O2 -fPIC"
else
SLKCFLAGS="-O2"
fi
Is CFLAGS="$SLKCFLAGS"
enough for qmake/make to use them?
--
kind regards
Marco
Junk-Mail bitte an trashcan at stinkedores.dorfdsl.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 665 bytes
Desc: OpenPGP digital signature
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20260723/4c1bb6c5/attachment-0001.asc>
More information about the SlackBuilds-users
mailing list