mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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:
parent
69aa489213
commit
897ebb4b03
1 changed files with 3 additions and 13 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue