diff options
Diffstat (limited to 'source/x/motif/motif.SlackBuild')
-rwxr-xr-x | source/x/motif/motif.SlackBuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source/x/motif/motif.SlackBuild b/source/x/motif/motif.SlackBuild index 5afd9e15c..fe6deb80f 100755 --- a/source/x/motif/motif.SlackBuild +++ b/source/x/motif/motif.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2014, 2016, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2014, 2016, 2018, 2022 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=motif VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | cut -f 2 -d - | cut -f 1-3 -d .)} -BUILD=${BUILD:-5} +BUILD=${BUILD:-6} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -107,7 +107,8 @@ zcat $CWD/motif.rgbtxt.patch.gz | patch -p1 --verbose || exit 1 autoreconf -vif # Configure: -LDFLAGS="$SLKLDFLAGS" \ +LEXLIB="-lfl" \ +LDFLAGS="-Wl,-O1,--as-needed" \ CXXFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \ ./configure \ |