diff options
author | jstebbins <[email protected]> | 2011-07-11 18:19:51 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2011-07-11 18:19:51 +0000 |
commit | 4364fd9ba6dc63b4a7c75cfcb25637ae5c4d5ee5 (patch) | |
tree | db719f4c79f699bbb07ba4542b7b5aa3ff5e1a2b /contrib/libdvdnav | |
parent | 8afaff770fe5e5a3ce67f778aa712eeb8954252b (diff) |
contrib: enable debuggin when debug=max and disable optimizations when optimizations=none
except for ffmpeg on darwin i386 which fails to build when optimizations
are disabled due to gcc running out of registers.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4103 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib/libdvdnav')
-rw-r--r-- | contrib/libdvdnav/module.defs | 14 |
1 files changed, 4 insertions, 10 deletions
diff --git a/contrib/libdvdnav/module.defs b/contrib/libdvdnav/module.defs index 98c26b6b5..6f596d409 100644 --- a/contrib/libdvdnav/module.defs +++ b/contrib/libdvdnav/module.defs @@ -4,17 +4,11 @@ $(eval $(call import.CONTRIB.defs,LIBDVDNAV)) LIBDVDNAV.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libdvdnav-svn1168.tar.gz LIBDVDNAV.EXTRACT.tarbase = libdvdnav -ifneq (max,$(GCC.g)) -ifeq (none,$(GCC.O)) - LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG -O0" +ifneq (max,$(LIBDVDNAV.GCC.g)) +ifeq (none,$(LIBDVDNAV.GCC.O)) + LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="$(call fn.ARGS,LIBDVDNAV.GCC,*sysroot *minver ?extra .O) -DNDEBUG" else - LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG" -endif -else -ifeq (none,$(GCC.O)) - LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g -O0" -else - LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g" + LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="$(call fn.ARGS,LIBDVDNAV.GCC,*sysroot *minver ?extra) -DNDEBUG" endif endif |