mirror of
https://git.freebsd.org/src.git
synced 2026-01-11 19:57:22 +00:00
ntp: Fix buildworld with MK_OPENSSL=no
Some checks are pending
Cross-build Kernel / amd64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-14) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-14) (push) Waiting to run
Some checks are pending
Cross-build Kernel / amd64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-20.04 (clang-12) (push) Waiting to run
Cross-build Kernel / amd64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / aarch64 macos-latest (clang-13) (push) Waiting to run
Cross-build Kernel / amd64 ubuntu-22.04 (clang-14) (push) Waiting to run
Cross-build Kernel / aarch64 ubuntu-22.04 (clang-14) (push) Waiting to run
Reported by: wosch
Tested by: wosch
(cherry picked from commit 2804461adf)
This commit is contained in:
parent
c4cc8ef864
commit
57f1d519e0
2 changed files with 3 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ NTPDEFS= -DSYS_FREEBSD
|
|||
CFLAGS+= ${NTPDEFS} ${DEFS_LOCAL} ${CLOCKDEFS}
|
||||
|
||||
.if ${MK_OPENSSL} != "no"
|
||||
CFLAGS+= -DOPENSSL -DAUTOKEY
|
||||
CFLAGS+= -DOPENSSL -DAUTOKEY -DUSE_OPENSSL_CRYPTO_RAND
|
||||
.endif
|
||||
|
||||
WARNS?= 0
|
||||
|
|
|
|||
|
|
@ -1668,7 +1668,8 @@ typedef unsigned int uintptr_t;
|
|||
#define USE_FSETOWNCTTY 1
|
||||
|
||||
/* Use OpenSSL's crypto random functions */
|
||||
#define USE_OPENSSL_CRYPTO_RAND 1
|
||||
/* We define this in Makefile.inc instead */
|
||||
/* #undef USE_OPENSSL_CRYPTO_RAND */
|
||||
|
||||
/* OK to use snprintb()? */
|
||||
/* #undef USE_SNPRINTB */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue