1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-05 04:56:34 +00:00

Define OPENSSL_FIPS=1. This is required to have EVP_sha256 (used by Nping) when

linking against the 10.4u SDK.
This commit is contained in:
david
2010-10-12 22:52:56 +00:00
parent ef46d67790
commit 6232cb13ac

View File

@@ -42,6 +42,9 @@ UNIVERSAL_CONFIGURE_ARGS = --disable-dependency-tracking
UNIVERSAL_CC = gcc-4.0
UNIVERSAL_CXX = g++-4.0
UNIVERSAL_CPPFLAGS = -isysroot /Developer/SDKs/MacOSX10.4u.sdk
# Nping uses EVP_sha256, which is not included in the 10.4u SDK unless you
# define this.
UNIVERSAL_CPPFLAGS += -DOPENSSL_FIPS=1
UNIVERSAL_CFLAGS = $(UNIVERSAL_CPPFLAGS) -mmacosx-version-min=10.4 -arch ppc -arch i386
UNIVERSAL_CXXFLAGS = $(UNIVERSAL_CFLAGS)
UNIVERSAL_LDFLAGS = -Wl,-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 -arch ppc -arch i386