aboutsummaryrefslogtreecommitdiff
path: root/lib/libregex/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* libregex: Add a symbol mapKyle Evans2018-01-221-1/+3
| | | | | | | | | | | | | kib points out that trying to re-use symbol versioning from libc is dirty and wrong. The implementation in libregex is incompatible by design with the implementation in libc. Using the symbol versions from libc can and likely will cause confusions for linkers and bring unexpected behavior for consumers that unwillingly (transitively) link against libregex. Reported by: kib Notes: svn path=/head/; revision=328263
* libregex: Drop WARNS to 2 to match libcKyle Evans2018-01-221-0/+1
| | | | | | | | | It's become clear that my armv7 builds didn't catch all of the warnings that other builds are picking up, drop WARNS to 2 to match libc until they're all caught. Notes: svn path=/head/; revision=328242
* Add libregex, connect it to the buildKyle Evans2018-01-221-0/+19
libregex is a regex(3) implementation intended to feature GNU extensions and any other non-POSIX compliant extensions that are deemed worthy. These extensions are separated out into a separate library for the sake of not cluttering up libc further with them as well as not deteriorating the speed (or lack thereof) of the libc implementation. libregex is implemented as a build of the libc implementation with LIBREGEX defined to distinguish this from a libc build. The reasons for implementation like this are two-fold: 1.) Maintenance- This reduces the overhead induced by adding yet another regex implementation to base. 2.) Ease of use- Flipping on GNU extensions will be as simple as linking against libregex, and POSIX-compliant compilations can be guaranteed with a REG_POSIX cflag that should be ignored by libc/regex and disables extensions in libregex. It is also easier to keep REG_POSIX sane and POSIX pure when implemented in this fashion. Tests are added for future functionality, but left disconnected for the time being while other testing is done. Reviewed by: cem (previous version) Differential Revision: https://reviews.freebsd.org/D12934 Notes: svn path=/head/; revision=328240