diff --git a/LICENSING.rst b/LICENSING.rst index a7f0f37..0308b47 100644 --- a/LICENSING.rst +++ b/LICENSING.rst @@ -1,7 +1,7 @@ Licensing --------- -wolfSSL’s software is available under two distinct licensing models: +wolfSSL's software is available under two distinct licensing models: open source and standard commercial licensing. Please see the relevant section below for information on each type of license. diff --git a/src/wolfcrypt/_build_wolfssl.py b/src/wolfcrypt/_build_wolfssl.py index 8d428eb..81984e7 100644 --- a/src/wolfcrypt/_build_wolfssl.py +++ b/src/wolfcrypt/_build_wolfssl.py @@ -22,6 +22,7 @@ import os import subprocess from contextlib import contextmanager +from distutils.util import get_platform def local_path(path): @@ -105,8 +106,8 @@ def make_flags(prefix): """ flags = [] - # extra CC flags - flags.append("CFLAGS=-fpic") + if get_platform() in ["linux-x86_64", "linux-i686"]: + flags.append("CFLAGS=-fpic") # install location flags.append("--prefix={}".format(prefix))