mirror of
https://github.com/status-im/xgo.git
synced 2025-01-11 19:34:55 +00:00
Don't optimise OSX compilers to native CPU (support older hw)
This commit is contained in:
parent
666ff21c54
commit
029adf7731
@ -40,6 +40,7 @@ RUN \
|
||||
tar -cjf /osxcross/tarballs/$OSX_SDK.tar.bz2 $OSX_SDK && \
|
||||
rm -rf `basename $OSX_SDK_PATH` $OSX_SDK && \
|
||||
\
|
||||
sed -i -e 's|-march=native||g' /osxcross/build_clang.sh /osxcross/wrapper/build.sh && \
|
||||
UNATTENDED=yes OSX_VERSION_MIN=10.6 /osxcross/build.sh
|
||||
|
||||
ENV PATH /osxcross/target/bin:$PATH
|
||||
|
Loading…
x
Reference in New Issue
Block a user