Skip to content

Conversation

@michaeldleslie
Copy link
Contributor

In QNX versions prior to 7.1, the regex functionality was located in libc.a and no extra linker flag was required. In QNX 7.1 and newer, we do need to link against the new libregex, which is what the current approach does always, breaking builds against older QNX versions.

Add check of CMAKE_SYSTEM_VERSION to handle this. QNX 7.0 is admittedly long in the tooth but it would be nice to keep this in good shape until it's commercially EOL'd in 2027.

@google-cla
Copy link

google-cla bot commented Jan 10, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@michaeldleslie michaeldleslie force-pushed the only_apply_lregex_for_qnx710_and_newer branch from 2a8a1e8 to f575053 Compare January 10, 2024 19:48
@derekmauro derekmauro self-assigned this Jan 22, 2024
@copybara-service copybara-service bot merged commit bd30c39 into google:main Jan 22, 2024
@michaeldleslie michaeldleslie deleted the only_apply_lregex_for_qnx710_and_newer branch August 20, 2025 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants