diff options
author | Balasankar "Balu" C <balasankar@gitlab.com> | 2022-05-23 08:32:36 +0300 |
---|---|---|
committer | Balasankar "Balu" C <balasankar@gitlab.com> | 2022-05-23 08:32:36 +0300 |
commit | 7134e8aff565146f15fb55bb1a965c83238f0af1 (patch) | |
tree | 16aefa6716a27af7623285bcc6e184276db9e50b | |
parent | 2ea9ab62df044733714466e84140663fa883a9cb (diff) |
Make Git build with SHA256 routines in FIPS mode
Changelog: added
Signed-off-by: Balasankar "Balu" C <balasankar@gitlab.com>
-rw-r--r-- | Makefile | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -74,6 +74,9 @@ GIT2GO_BUILD_TAGS := static,system_libgit2 ifeq (${FIPS_MODE}, 1) SERVER_BUILD_TAGS := ${SERVER_BUILD_TAGS},fips GIT2GO_BUILD_TAGS := ${GIT2GO_BUILD_TAGS},fips + + GIT_FIPS_BUILD_OPTIONS ?= + GIT_FIPS_BUILD_OPTIONS += OPENSSL_SHA256=1 endif # Dependency versions @@ -170,6 +173,10 @@ ifdef GIT_APPEND_BUILD_OPTIONS GIT_BUILD_OPTIONS += ${GIT_APPEND_BUILD_OPTIONS} endif +ifdef GIT_FIPS_BUILD_OPTIONS + GIT_BUILD_OPTIONS += ${GIT_FIPS_BUILD_OPTIONS} +endif + # libgit2 target LIBGIT2_REPO_URL ?= https://gitlab.com/libgit2/libgit2 LIBGIT2_SOURCE_DIR ?= ${DEPENDENCY_DIR}/libgit2/source |