USE_CERT_BUFFERS included in compile line

kaleb-himes-patch-1
lchristina26 2014-07-10 11:58:51 -06:00
parent 934decf301
commit b79a2c1a9b
2 changed files with 4 additions and 4 deletions

View File

@ -19,10 +19,10 @@ SRC_URI[sha256sum] = "204427833d78a98d54728b3af52dca0ef58dcbea1f1cdfa8ef9c46e828
S = "${WORKDIR}/${PN}-${PV}"
do_compile() {
${CC} ${CFLAGS} -DNO_RABBIT -Wall -o benchmark ${WORKDIR}/benchmark.c -lcyassl ${LDFLAGS}
${CC} ${CFLAGS} -DNO_RABBIT -DUSE_CERT_BUFFERS_2048 -Wall -o benchmark ${WORKDIR}/benchmark.c -lcyassl ${LDFLAGS}
}
do_install() {
install -d ${D}${bindir}
install -d ${D}${bindir}/ctaocrypt
install -m 0755 ${S}/benchmark ${D}${bindir}
}

View File

@ -19,10 +19,10 @@ SRC_URI[sha256sum] = "3e5e95a74ac1d58d8b1eb00e063556219905e096d2235e53d78b730352
S = "${WORKDIR}/${PN}-${PV}"
do_compile() {
${CC} ${CFLAGS} -DNO_RABBIT -DNO_MD4 -DNO_DSA -DNO_PWDBASED -Wall -o test ${WORKDIR}/test.c -lcyassl ${LDFLAGS} -I ${WORKDIR}/test.h
${CC} ${CFLAGS} -DUSE_CERT_BUFFERS_2048 -DNO_RABBIT -DNO_MD4 -DNO_DSA -DNO_PWDBASED -Wall -o ctaocrypttest ${WORKDIR}/test.c -lcyassl ${LDFLAGS}
}
do_install() {
install -d ${D}${bindir}
install -m 0755 ${S}/test ${D}${bindir}
install -m 0755 ${S}/ctaocrypttest ${D}${bindir}
}