diff options
Diffstat (limited to 'devel/boost-python-libs')
-rw-r--r-- | devel/boost-python-libs/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/boost-python-libs/Makefile b/devel/boost-python-libs/Makefile index 2790ffa30cbc..bc8687e3baa2 100644 --- a/devel/boost-python-libs/Makefile +++ b/devel/boost-python-libs/Makefile @@ -8,6 +8,10 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} USES= python USE_PYTHON= flavors +# Ignore -Wregister warnings in Python.h +CFLAGS+= ${${PY_FLAVOR}_CFLAGS} +py27_CFLAGS= -isystem ${PYTHON_INCLUDEDIR} + OPTIONS_DEFINE= DEBUG OPTIMIZED_CFLAGS .include "${.CURDIR}/../boost-all/common.mk" |