summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/libssl/ssl-patent/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/lib/libssl/ssl-patent/Makefile b/lib/libssl/ssl-patent/Makefile
index f5084749ab9..3816de81ea2 100644
--- a/lib/libssl/ssl-patent/Makefile
+++ b/lib/libssl/ssl-patent/Makefile
@@ -9,10 +9,13 @@ LCRYPTO_SRC= ${.CURDIR}/../${SSLEAYDIST}/crypto
.if ${MACHINE_ARCH} == "i386"
CFLAGS+= -DL_ENDIAN -DBN_ASM
.else
-.if ${MACHINE_ARCH} == "arc"
+.if ${MACHINE} == "arc"
CFLAGS+= -DL_ENDIAN
.else
-.if ${MACHINE_ARCH} == "pmax"
+.if ${MACHINE} == "galileo"
+CFLAGS+= -DL_ENDIAN
+.else
+.if ${MACHINE} == "pmax"
CFLAGS+= -DL_ENDIAN
.else
.if ${MACHINE_ARCH} == "alpha"
@@ -22,6 +25,7 @@ CFLAGS+= -DB_ENDIAN
.endif
.endif
.endif
+.endif
.endif
CFLAGS+= -DNO_IDEA -DTERMIOS -DANSI_SOURCE