[BUG] the CMake toolchain file's linker flags don't play well with other languages

Đang mở
#2,264 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
55/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cmake
Lĩnh vực
build-system

Hướng nghiên cứu

Start by locating the NDK CMake toolchain file and the linker flag additions that use -Wl,; the issue does not name a file or test. Read the linked CMake and Swift reports to understand the non-C/C++ compiler regression, then check how the toolchain handles LINKER:. Done means the linker flags work with other languages across the affected NDK versions.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

bug
Description

There was a regression with CMake 3.30 in how linker flags were passed to non-C/C++ and Windows compilers that broke their builds, which we've been working around for awhile now. It would be good to fix the NDK toolchain file instead to replace -Wl, additions with LINKER:, as detailed by @etcwilde here.

I am using a supported NDK
  • I have checked and the NDK I'm using is currently supported
Affected versions

r27, r28, r29, r30

Ngôn ngữ chính
Không có dữ liệu ngôn ngữ
Star
2.3k
Fork
311
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của android/ndk

Tất cả issue của android/ndk

Issue tương tự

Thêm issue về Build System

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.