+18
−0
Loading
Check compiler target triplet for the strings 'windows' or 'mingw' and set OS to Windows. If found, adjust basic parameters: Set EXEEXT to indicate executables have .exe suffix. Exclude 'relro' and 'now' flags which are not recognised on Windows. Exclude 'noexecstack' flag which is not recognised on Windows. Exclude -pthread flag because Windows doesn't have POSIX threads. Include libssp.a to support stack-protector and _FORTIFY_SOURCE. Signed-off-by:Nick Connolly <nick.connolly@mayadata.io> Change-Id: I94a45d3123ebc81f5529006fa07b05da897e5866 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/6574 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Aleksey Marchuk <alexeymar@mellanox.com>