| Ticket UUID: | 9ac1b02e243d9a25885e37a5d89f3b8936689e41 | |||
| Title: | macOS: duplicate `-lpthread -framework CoreFoundation` flags | |||
| Type: | Bug | Version: | 8.6.10 | |
| Submitter: | chrstphrchvz | Created on: | 2020-08-08 13:22:27 | |
| Subsystem: | 83. Mac OS X Build | Assigned To: | nobody | |
| Priority: | 5 Medium | Severity: | Cosmetic | |
| Status: | Open | Last Modified: | 2020-08-08 20:29:13 | |
| Resolution: | None | Closed By: | nobody | |
| Closed on: | ||||
| Description: |
The Makefile that is output by unix/configure on macOS (for both X11 and Aqua builds) has duplicate linker flags -lpthread -framework CoreFoundation, which appears to be harmless but might not be ideal. Presumably these duplicates appear because they were first specified when Tcl was built (and were picked up by Tk from tclConfig.sh), and Tk is specifying them a second time. I am not sure where to look in unix/configure for where/why these flags are being specified a second time. I would think that there is possibly no point in letting Tk offer to disable some option that it effectively can't if already enabled in Tcl. Maybe some of these options should no longer be optional. | |||
| User Comments: |
kevin_walzer added on 2020-08-08 20:29:13:
Wouldn't removing these flags mean it would be possible to build a threaded Tcl and a non-threaded Tk, for instance? This seems to me to be a needless optimization, though perhaps I could be persuaded otherwise if my assumptions are incorrect. | |||
Home
Timeline
Branches
Tags
Forum
Tickets
Download
Wiki