Mercurial > hgrepos > Python2 > PyMuPDF
comparison pipcl.py @ 32:72c1b70d4f5c
Also apply -Werror=implicit-function-declaration
| author | Franz Glasner <fzglas.hg@dom66.de> |
|---|---|
| date | Sun, 21 Sep 2025 15:10:12 +0200 |
| parents | baeb8bdeff3a |
| children | c4daa0c83d64 |
comparison
equal
deleted
inserted
replaced
| 31:baeb8bdeff3a | 32:72c1b70d4f5c |
|---|---|
| 1767 general_flags += ' -g' | 1767 general_flags += ' -g' |
| 1768 if optimise: | 1768 if optimise: |
| 1769 general_flags += ' -O2 -DNDEBUG' | 1769 general_flags += ' -O2 -DNDEBUG' |
| 1770 if os.environ.get('EXTRA_CHECKS', '1') != '0': | 1770 if os.environ.get('EXTRA_CHECKS', '1') != '0': |
| 1771 general_flags += ' -fno-delete-null-pointer-checks' | 1771 general_flags += ' -fno-delete-null-pointer-checks' |
| 1772 general_flags += ' -Werror=implicit-function-declaration' | |
| 1772 | 1773 |
| 1773 py_limited_api3 = f'-DPy_LIMITED_API={py_limited_api2}' if py_limited_api2 else '' | 1774 py_limited_api3 = f'-DPy_LIMITED_API={py_limited_api2}' if py_limited_api2 else '' |
| 1774 | 1775 |
| 1775 if darwin(): | 1776 if darwin(): |
| 1776 # MacOS's linker does not like `-z origin`. | 1777 # MacOS's linker does not like `-z origin`. |
