diff options
author | jstebbins <[email protected]> | 2009-09-04 21:22:41 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2009-09-04 21:22:41 +0000 |
commit | 74302fd6044b633bcd683bb8e6a0faa39d113732 (patch) | |
tree | 7413aab00083d7761723884a5733cfb2b2d98733 /make/include/contrib.defs | |
parent | b65acba4026ec467b8b699612033db005471862f (diff) |
build system: add capability to build Leopard target from Snow Leopard Host
To configure for building Leopard target from Snow Leopard:
configure --sysroot /Developer/SDKs/MacOSX10.5.sdk --minver 10.5
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2806 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'make/include/contrib.defs')
-rw-r--r-- | make/include/contrib.defs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/make/include/contrib.defs b/make/include/contrib.defs index 2b7d6223c..fcff27356 100644 --- a/make/include/contrib.defs +++ b/make/include/contrib.defs @@ -83,11 +83,11 @@ define import.CONTRIB.defs $(1).CONFIGURE.args = !sete @dir !bootstrap !env !exe @host @prefix !deps !shared !static !extra $(1).CONFIGURE.env.CC = CC=$$($(1).GCC.gcc) - $(1).CONFIGURE.env.CFLAGS = CFLAGS="$$(call fn.ARGS,$(1).GCC,*archs ?extra)" + $(1).CONFIGURE.env.CFLAGS = CFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra)" $(1).CONFIGURE.env.CXX = CXX=$$($(1).GCC.gxx) - $(1).CONFIGURE.env.CXXFLAGS = CXXFLAGS="$$(call fn.ARGS,$(1).GCC,*archs ?extra)" - $(1).CONFIGURE.env.CPPFLAGS = CPPFLAGS="$$(call fn.ARGS,$(1).GCC,*archs ?extra)" - $(1).CONFIGURE.env.LDFLAGS = LDFLAGS="$$(call fn.ARGS,$(1).GCC,*archs)" + $(1).CONFIGURE.env.CXXFLAGS = CXXFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra)" + $(1).CONFIGURE.env.CPPFLAGS = CPPFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver ?extra)" + $(1).CONFIGURE.env.LDFLAGS = LDFLAGS="$$(call fn.ARGS,$(1).GCC,*archs *sysroot *minver)" $(1).CONFIGURE.env.args = !CC !CFLAGS !CXX !CXXFLAGS !CPPFLAGS !LDFLAGS $(1).CONFIGURE.env = $$(call fn.ARGS,$(1).CONFIGURE.env,$$($(1).CONFIGURE.env.args)) |