aboutsummaryrefslogtreecommitdiff
path: root/games/eureka
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2023-05-31 00:47:38 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-06-03 10:38:32 +0700
commit897ebb4b038ba8b44acab0959e73855ca79d3589 (patch)
treeed1b780ba786e0ab377d91e08f723e93af5c93ed /games/eureka
parent69aa4892139e10e6a7617ea135e05e0c61c100b3 (diff)
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>
Diffstat (limited to 'games/eureka')
-rw-r--r--games/eureka/eureka.SlackBuild16
1 files changed, 3 insertions, 13 deletions
diff --git a/games/eureka/eureka.SlackBuild b/games/eureka/eureka.SlackBuild
index e0a1038a4d871..b9da7267a7500 100644
--- a/games/eureka/eureka.SlackBuild
+++ b/games/eureka/eureka.SlackBuild
@@ -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