games/eureka: Get rid of unused LIBDIRSUFFIX and SLKCFLAGS.

Signed-off-by: B. Watson <urchlay@slackware.uk>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2023-05-31 00:47:38 -04:00 committed by Willy Sudiarto Raharjo
parent 69aa489213
commit 897ebb4b03
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -23,6 +23,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# 20230531 bkw: remove unused SLKCFLAGS and LIBDIRSUFFIX variables.
# 20230108 bkw: BUILD=2
# - strip binary
# - keep only useful parts of INSTALL.txt
@ -61,19 +63,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
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"
else
SLKCFLAGS="-O2"
LIBDIRSUFFIX=""
fi
# fltk-config knows the right flags and lib dir, no SLKCFLAGS or LIBDIRSUFFIX.
set -e