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 /Makefile.include.in | |
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
Diffstat (limited to 'Makefile.include.in')
-rw-r--r-- | Makefile.include.in | 1 |
1 files changed, 1 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 \ |