Changes between Initial Version and Version 1 of Ticket #67213, comment 2
- Timestamp:
- May 5, 2023, 4:35:39 PM (17 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #67213, comment 2
initial v1 9 9 }}} 10 10 11 However the Portfile sets `SYSROOT` in `build.args` which should override whatever value thewas set in the Makefile (or the re.mk file it includes). I'm surprised `make` bothered to run `xcrun` here since `make` knows the value will be overridden, but I recall reading before that `make` is very simplistic in how it works. So while the error message is not pretty, it shouldn't cause any problem. We could patch re.mk to remove the call to `xcrun` to remove the error message.11 However the Portfile sets `SYSROOT` in `build.args` which should override whatever value was set in the Makefile (or the re.mk file it includes). I'm surprised `make` bothered to run `xcrun` here since `make` knows the value will be overridden, but I recall reading before that `make` is very simplistic in how it works. So while the error message is not pretty, it shouldn't cause any problem. We could patch re.mk to remove the call to `xcrun` to remove the error message. 12 12 13 13 Regarding `cc1: error: unrecognized command line option "-std=c11"`, I added the C11 requirement to the port, however now that I'm reading the code it appears not to require C11 unconditionally. The code in mk/re.mk says: