Don't set USE_ASSEMBLY_[AB] on any arch but i386, so this builds on the

Alpha again.
This commit is contained in:
Steve Price 2000-02-13 16:47:42 +00:00
parent 1aeeb98b57
commit c2bb021807
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=25753

View file

@ -1,5 +1,5 @@
--- Makefile.orig Thu Nov 11 09:19:29 1999
+++ Makefile Thu Dec 2 15:50:05 1999
--- Makefile.orig Thu Nov 11 11:19:29 1999
+++ Makefile Sun Feb 6 18:33:46 2000
@@ -23,7 +23,7 @@
# SGI {SGI Workstation running Irix (SYSV/R4) Unix}
# SUN {Sun SparcStation running Solaris (SYSV/R4) Unix}
@ -9,7 +9,7 @@
#
# The next options are optimizations inside Crafty that you will have
# test to see if they help. on some machines, these will slow things
@@ -83,13 +83,13 @@
@@ -83,13 +83,17 @@
# asm = X86.o
# FreeBSD (gcc 2.6.3)
@ -23,12 +23,16 @@
-# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
+CPP = $(CXX)
+LDFLAGS =
+.if ${MACHINE_ARCH} == "i386"
+opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS \
+ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
+.else
+opt = -DCOMPACT_ATTACKS -DUSE_ATTACK_FUNCTIONS -DFAST
+.endif
# FreeBSD (pgcc)
#target = FreeBSD
@@ -111,20 +111,25 @@
@@ -111,20 +115,25 @@
# LINUX (gcc 2.95)
# Note: You have to uncomment exactly ONE of the `asm' lines below.
@ -63,7 +67,7 @@
# NEXT
#target = NEXT
@@ -169,7 +174,7 @@
@@ -169,7 +178,7 @@
# Do not change anything below this line!