1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-06-23 21:50:32 -04:00
ports/devel/py-google-re2/files/patch-setup.py

11 lines
335 B
Python

--- setup.py.orig 2023-07-31 16:01:19 UTC
+++ setup.py
@@ -79,7 +79,7 @@ ext_module = setuptools.Extension(
sources=['_re2.cc'],
include_dirs=list(include_dirs()),
libraries=['re2'],
- extra_compile_args=['-fvisibility=hidden'],
+ extra_compile_args=['--std=c++17', '-fvisibility=hidden'],
)
setuptools.setup(