Skip to content

Commit

Permalink
attempting to fix compilation (again)
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWitch committed Oct 6, 2024
1 parent 87efe4c commit cec4885
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion misc/ci/macos-aarch64-build-release.ini
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[constants]
# apple silicon only supports macOS >=11.x, so just use that
macos_min = '11.1'
cflags = ['-mmacosx-version-min='+macos_min, '-arch', 'arm64', '-mcpu=apple-m1', '-fno-integrated-as']
cflags = ['-Wl,-ld_classic', '-mmacosx-version-min='+macos_min, '-arch', 'arm64', '-mcpu=apple-m1', '-fno-integrated-as']
ldflags = cflags

[host_machine]
Expand Down
2 changes: 1 addition & 1 deletion misc/ci/macos-x86_64-build-release.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[constants]
macos_min = '10.15'
cflags = ['-mmacosx-version-min='+macos_min, '-arch', 'x86_64', '-fno-integrated-as']
cflags = ['-Wl,-ld_classic', '-mmacosx-version-min='+macos_min, '-arch', 'x86_64', '-fno-integrated-as']
ldflags = cflags

[host_machine]
Expand Down
2 changes: 1 addition & 1 deletion misc/ci/macos-x86_64-build-test-ci.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[constants]
macos_min = '10.15'
cflags = ['-mmacosx-version-min='+macos_min, '-arch', 'x86_64', '-fno-integrated-as']
cflags = ['-Wl,-ld_classic', '-mmacosx-version-min='+macos_min, '-arch', 'x86_64', '-fno-integrated-as']
# NOTE: might need to pass -sdk_version to the linker as well, not sure how that works...
ldflags = cflags

Expand Down

0 comments on commit cec4885

Please sign in to comment.