From: Jouni Malinen Date: Sat, 1 Aug 2015 13:39:41 +0000 (+0300) Subject: tests: Set FIPSLD_CC=gcc (if not set) to make CONFIG_FIPS=y use easier X-Git-Tag: hostap_2_5~248 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a1f26259bd73772514877e223d05051b47c07a;p=thirdparty%2Fhostap.git tests: Set FIPSLD_CC=gcc (if not set) to make CONFIG_FIPS=y use easier This makes it easier to build wpa_supplicant for OpenSSL FIPS mode testing. wpa_supplicant/.config needs following type of configuration for this: CONFIG_FIPS=y CFLAGS += -I/usr/local/ssl/include LIBS += -L/usr/local/ssl/lib CC=/usr/local/ssl/fips-2.0/bin/fipsld Signed-off-by: Jouni Malinen --- diff --git a/tests/hwsim/build.sh b/tests/hwsim/build.sh index 301c330d2..b35e0f1c1 100755 --- a/tests/hwsim/build.sh +++ b/tests/hwsim/build.sh @@ -72,4 +72,7 @@ if [ $use_lcov -eq 1 ]; then fi make clean > /dev/null +if [ -z $FIPSLD_CC ]; then +export FIPSLD_CC=gcc +fi make QUIET=1 -j8