fixed osx build

This commit is contained in:
Brannon King 2020-01-13 21:44:08 -07:00 committed by Anthony Fieroni
parent ce3c813dfc
commit 6b9c1b995d
2 changed files with 1 additions and 3 deletions

View file

@ -23,7 +23,6 @@ $(package)_config_opts_i686_linux=address-model=32 architecture=x86
$(package)_toolset_$(host_os)=gcc
$(package)_archiver_$(host_os)=$($(package)_ar)
$(package)_toolset_darwin=clang-darwin
$(package)_archiver_darwin=$($(package)_libtool)
$(package)_config_libraries=chrono,filesystem,system,locale,thread,test
$(package)_cxxflags=-std=c++11 -fvisibility=hidden -Wno-deprecated
$(package)_cxxflags_linux=-fPIC

View file

@ -11,8 +11,7 @@ define $(package)_set_vars
$(package)_config_opts_debug=--enable-debug --disable-release
$(package)_config_opts_release=--disable-debug --enable-release
$(package)_config_opts_mingw32=--with-cross-build="$($(package)_extract_dir)/build"
$(package)_config_opts_darwin=--with-cross-build="$($(package)_extract_dir)/build" LIBTOOL="$($(package)_libtool)"
$(package)_archiver_darwin=$($(package)_libtool)
$(package)_config_opts_darwin=--with-cross-build="$($(package)_extract_dir)/build"
$(package)_cflags_linux=-fPIC
$(package)_cppflags_linux=-fPIC
endef