Skip to content

Commit

Permalink
Merge pull request uxlfoundation#155 from IntelPython/mac-use-flto
Browse files Browse the repository at this point in the history
use -flto on OSX
  • Loading branch information
oleksandr-pavlyk authored Jan 21, 2020
2 parents aa51681 + 72a060b commit 353c077
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conda-recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ if [ `uname` == Darwin ]; then
export LDFLAGS="${LDFLAGS//-Wl,-dead_strip_dylibs}"
export LDFLAGS_LD="${LDFLAGS_LD//-dead_strip_dylibs}"
# some dead_strip_dylibs come from Python's sysconfig. Setting LDSHARED overrides that
export LDSHARED="-bundle -undefined dynamic_lookup -Wl,-export_dynamic -Wl,-pie -Wl,-headerpad_max_install_names"
export LDSHARED="-bundle -undefined dynamic_lookup -flto -Wl,-export_dynamic -Wl,-pie -Wl,-headerpad_max_install_names"
fi

export DAAL4PY_VERSION=$PKG_VERSION
Expand Down

0 comments on commit 353c077

Please sign in to comment.