aboutsummaryrefslogtreecommitdiffstats
path: root/src/build-data
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-12-01 20:17:27 +0000
committerlloyd <[email protected]>2010-12-01 20:17:27 +0000
commita021b449141d3606d089f1465fd2d26fdd64b91e (patch)
treef6221996274cbd3b09b02bcd93cc23cbf66a7cc6 /src/build-data
parent982759376ab3c8f848a4444150b899c8981eef73 (diff)
Respect CFLAGS
Diffstat (limited to 'src/build-data')
-rw-r--r--src/build-data/makefile/python.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/build-data/makefile/python.in b/src/build-data/makefile/python.in
index e3ed42b25..420da0e92 100644
--- a/src/build-data/makefile/python.in
+++ b/src/build-data/makefile/python.in
@@ -1,4 +1,5 @@
CXX = %{cc}
+CFLAGS = -Os
LDFLAGS =
WARN_FLAGS = %{warn_flags}
@@ -6,7 +7,7 @@ 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 $(WARN_FLAGS) $(PYTHON_INC)
+PYTHON_FLAGS = -Isrc/wrap/python -fPIC -ftemplate-depth-255 $(WARN_FLAGS) $(PYTHON_INC) $(CFLAGS)
BOTAN_PYTHON_MODDIR = %{python_obj_dir}