aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoranssih <anssih@svn>2010-06-10 20:41:47 +0000
committeranssih <anssih@svn>2010-06-10 20:41:47 +0000
commit2abde7d6157660959143611b3584c2cb90ebb0c4 (patch)
tree0f1b878f28c8b4cf49f066deb803a5b3aed5e6d1
parent633ab9300e4287ca55baa5989a2a493485899713 (diff)
fixed: obey CFLAGS when compiling wrapper_python.o
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31017 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r--xbmc/lib/libPython/linux/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/xbmc/lib/libPython/linux/Makefile.in b/xbmc/lib/libPython/linux/Makefile.in
index 95a1cedad5..62ae57f946 100644
--- a/xbmc/lib/libPython/linux/Makefile.in
+++ b/xbmc/lib/libPython/linux/Makefile.in
@@ -84,7 +84,7 @@ $(SLIB): $(PYWRAP) ../Python/libpython2.4.a $(PYO) ../../../../tools/Mach5/wrapp
@../Python/python.exe -O ../Python/Lib/py_compile.py $<
$(PYWRAP): $(PYWRAP:.o=.c)
- $(CC) -fPIC -o $@ -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c $<
+ $(CC) $(CFLAGS) -fPIC -o $@ -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c $<
else
all: $(SLIB)
@@ -128,7 +128,7 @@ $(ZIP): $(PYC) $(PYO)
../Python/Lib/py_compile.py $<
$(PYWRAP): $(PYWRAP:.o=.c)
- $(CC) -fPIC -o $@ -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c $<
+ $(CC) $(CFLAGS) -fPIC -o $@ -D_FILE_DEFINED -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c $<
$(PYWRAPDEF): $(PYWRAPDEF:.def=.c)
LD_OPTS=$$(for func in $$(grep PYTHON_WRAP wrapper_python.c | \