Fix build with bmake

This commit is contained in:
Baptiste Daroussin 2013-05-05 21:15:42 +00:00
parent aac0904dc1
commit b4dbb5bb02
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=317436

View file

@ -0,0 +1,20 @@
--- ./Makefile.BSD.orig 2009-09-24 22:16:17.000000000 +0200
+++ ./Makefile.BSD 2013-05-05 23:13:58.797891197 +0200
@@ -97,7 +97,7 @@
${SV_DIR}/pcre/get.o \
${SV_DIR}/pcre/pcre.o
-.if ${USE_ASM} == ${ASM}
+.if defined(ASM) && ${USE_ASM} == ${ASM}
SV_ASM_OBJS = \
${SV_DIR}/bothtoolsa.o \
${SV_DIR}/math.o
@@ -119,7 +119,7 @@
${QWDTOOLS_DIR}/sync.o \
${QWDTOOLS_DIR}/tools.o
-.if ${USE_ASM} == ${ASM}
+.if defined(ASM) && ${USE_ASM} == ${ASM}
QWDTOOLS_ASM_OBJS = \
${SV_DIR}/bothtoolsa.o
.endif