Skip to content

Commit 9c12ebe

Browse files
fix path of debug command
1 parent 1e62666 commit 9c12ebe

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: build

+3-3
Original file line numberDiff line numberDiff line change
@@ -210,16 +210,16 @@ function build_bcg729 () {
210210
os_platform="iPhoneSimulator"
211211
mkdir -p "${os_platform}${IOS_SDK_VERSION}-${arch}.sdk"
212212
cmake . -DCMAKE_INSTALL_PREFIX="${os_platform}${IOS_SDK_VERSION}-${arch}.sdk" -DCMAKE_SKIP_INSTALL_RPATH=ON
213-
make C_FLAGS="$C_FLAGS -O2 -m64 -miphoneos-version-min=${MIN_IOS_VERSION} -isysroot ${xcode_dev_path}/Platforms/${os_platform}.platform/Developer/SDKs/${os_platform}.sdk -march=x86-64" || exit
213+
make C_FLAGS="$C_FLAGS -O2 -m64 -mios-simulator-version-min=${MIN_IOS_VERSION} -isysroot ${xcode_dev_path}/Platforms/${os_platform}.platform/Developer/SDKs/${os_platform}.sdk -march=x86-64" || exit
214214

215215
else
216216
os_platform="iPhoneOS"
217217
mkdir -p "${os_platform}${IOS_SDK_VERSION}-${arch}.sdk"
218218
cmake . -DCMAKE_INSTALL_PREFIX="${os_platform}${IOS_SDK_VERSION}-${arch}.sdk" -DCMAKE_SKIP_INSTALL_RPATH=ON
219-
make C_FLAGS="$C_FLAGS -fPIE -miphoneos-version-min=${MIN_IOS_VERSION} -isysroot ${xcode_dev_path}/Platforms/${os_platform}.platform/Developer/SDKs/${os_platform}.sdk -march=${arch}" || exit
219+
make C_FLAGS="$C_FLAGS -miphoneos-version-min=${MIN_IOS_VERSION} -isysroot ${xcode_dev_path}/Platforms/${os_platform}.platform/Developer/SDKs/${os_platform}.sdk -march=${arch}" || exit
220220
fi
221221
make install
222-
lipo -info "${os_platform}${IOS_SDK_VERSION}-${arch}.sdk/lib/*.a"
222+
lipo -info "external/bcg729/${os_platform}${IOS_SDK_VERSION}-${arch}.sdk/lib/*.a"
223223
done
224224

225225
}

0 commit comments

Comments
 (0)