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 <j@w1.fi>
This commit is contained in:
parent
276a3c44dd
commit
b2a1f26259
1 changed files with 3 additions and 0 deletions
|
@ -72,4 +72,7 @@ if [ $use_lcov -eq 1 ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
make clean > /dev/null
|
make clean > /dev/null
|
||||||
|
if [ -z $FIPSLD_CC ]; then
|
||||||
|
export FIPSLD_CC=gcc
|
||||||
|
fi
|
||||||
make QUIET=1 -j8
|
make QUIET=1 -j8
|
||||||
|
|
Loading…
Reference in a new issue