From 18666150e7a12a05d588dd78919c688c68008299 Mon Sep 17 00:00:00 2001 From: lloyd Date: Thu, 22 Jul 2010 01:36:21 +0000 Subject: Use configured compiler for Python --- src/build-data/makefile/python.in | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/build-data') 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} -- cgit v1.2.3