aboutsummaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
Diffstat (limited to 'games')
-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