mirror of
https://github.com/Relintai/osxcross.git
synced 2025-03-09 07:46:59 +01:00
Revert "Fix for #211"
This reverts commit 62998924a8
.
Breaks other things (#212)
This commit is contained in:
parent
62998924a8
commit
2bab8f2eef
2
build.sh
2
build.sh
@ -184,12 +184,14 @@ fi
|
||||
|
||||
pushd $SDK_DIR/MacOSX$SDK_VERSION.sdk &>/dev/null
|
||||
set +e
|
||||
if [ $PLATFORM == "FreeBSD" ] || [ $PLATFORM == "OpenBSD" ]; then
|
||||
files=$(echo $SDK_DIR/MacOSX$SDK_VERSION.sdk/System/Library/Frameworks/Kernel.framework/Versions/A/Headers/std*.h)
|
||||
for file in $files; do
|
||||
rm -f usr/include/$(basename $file)
|
||||
cp $file usr/include
|
||||
done
|
||||
cp -f $BASE_DIR/oclang/quirks/tgmath.h usr/include
|
||||
fi
|
||||
if [ ! -f "usr/include/float.h" ]; then
|
||||
cp -f $BASE_DIR/oclang/quirks/float.h usr/include
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user