diff options
Diffstat (limited to 'src/build-data/makefile/python.in')
-rw-r--r-- | src/build-data/makefile/python.in | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/build-data/makefile/python.in b/src/build-data/makefile/python.in index d3b4a122b..d0e33f6e3 100644 --- a/src/build-data/makefile/python.in +++ b/src/build-data/makefile/python.in @@ -1,10 +1,11 @@ -CXX = g++ +CXX = %{cc} +WARN_FLAGS = %{warn_flags} PYTHON_ROOT = /usr/lib/python%{python_version}/config PYTHON_INC = -I/usr/include/python%{python_version} PYTHON_SITE_PACKAGE_DIR = /usr/lib/python%{python_version}/site-packages/ -PYTHON_FLAGS = -Isrc/wrap/python -Os -fPIC -ftemplate-depth-255 -Wall -Wno-unused $(PYTHON_INC) +PYTHON_FLAGS = -Isrc/wrap/python -Os -fPIC -ftemplate-depth-255 $(WARN_FLAGS) $(PYTHON_INC) BOTAN_PYTHON_MODDIR = %{python_obj_dir} |