aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data/makefile/python.in
diff options
context:
space:
mode:
authorlloyd <lloyd@randombit.net>2010-07-22 01:36:21 +0000
committerlloyd <lloyd@randombit.net>2010-07-22 01:36:21 +0000
commit18666150e7a12a05d588dd78919c688c68008299 (patch)
tree504fd0e1477b216154659017ebd396082460da59 /src/build-data/makefile/python.in
parentb46aab7e0eeb16f116fdea19727a22bf60a45748 (diff)
Use configured compiler for Python
Diffstat (limited to 'src/build-data/makefile/python.in')
-rw-r--r--src/build-data/makefile/python.in5
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}