diff options
author | anssih <anssih@svn> | 2010-07-11 21:22:04 +0000 |
---|---|---|
committer | anssih <anssih@svn> | 2010-07-11 21:22:04 +0000 |
commit | 2cc18edfabe5dfedbd3f6edbaae13e91e7373d37 (patch) | |
tree | e99ba70fe72bfbfb2d40f33118217aca84b2fd57 | |
parent | 119f05103c5cfbc5e13bb36135ad00791fafb406 (diff) |
fixed: missing LDFLAGS/CFLAGS when removed from environment
Ideally, Makefile.include.in should contain "CFLAGS =
user-specified-cflags" instead of "CFLAGS += user-specified-cflags",
and the individual Makefiles would use '+=' as needed.
This would allow the 'user-specified-cflags' from 'configure' to be
completely overridden (instead of just appended) with
"make CFLAGS=some-other-flags" as is the general convention.
Since that would be fairly disruptive, lets not do it for now.
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@31737 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
-rw-r--r-- | Makefile.include.in | 1 | ||||
-rw-r--r-- | xbmc/lib/libPython/linux/Makefile.in | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/Makefile.include.in b/Makefile.include.in index 20d4ff6f5b..a78be8ddde 100644 --- a/Makefile.include.in +++ b/Makefile.include.in @@ -29,6 +29,7 @@ CXX=@CXX@ CC=@CC@ CXXFLAGS+=@CXXFLAGS@ CFLAGS+=@CFLAGS@ +LDFLAGS+=@LDFLAGS@ INCLUDES+=$(sort @INCLUDES@) DEFINES+= \ -D_LINUX \ diff --git a/xbmc/lib/libPython/linux/Makefile.in b/xbmc/lib/libPython/linux/Makefile.in index 9df6b02885..20a830eaa8 100644 --- a/xbmc/lib/libPython/linux/Makefile.in +++ b/xbmc/lib/libPython/linux/Makefile.in @@ -1,5 +1,7 @@ ARCH=@ARCH@ CC=@CC@ +CFLAGS=@CFLAGS@ +LDFLAGS=@LDFLAGS@ SHELL=/bin/bash SYSDIR=../../../../system/python |