diff options
-rw-r--r-- | contrib/libdvdnav/module.defs | 4 | ||||
-rw-r--r-- | contrib/libdvdread/module.defs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/contrib/libdvdnav/module.defs b/contrib/libdvdnav/module.defs index 0f955f992..98c26b6b5 100644 --- a/contrib/libdvdnav/module.defs +++ b/contrib/libdvdnav/module.defs @@ -5,7 +5,11 @@ LIBDVDNAV.FETCH.url = http://download.handbrake.fr/handbrake/contrib/libdvdnav-s LIBDVDNAV.EXTRACT.tarbase = libdvdnav ifneq (max,$(GCC.g)) +ifeq (none,$(GCC.O)) + LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG -O0" +else LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-DNDEBUG" +endif else ifeq (none,$(GCC.O)) LIBDVDNAV.CONFIGURE.env.CFLAGS = CFLAGS="-g -O0" diff --git a/contrib/libdvdread/module.defs b/contrib/libdvdread/module.defs index 59967c037..bbf7e1dc9 100644 --- a/contrib/libdvdread/module.defs +++ b/contrib/libdvdread/module.defs @@ -10,6 +10,10 @@ ifeq (none,$(GCC.O)) else LIBDVDREAD.CONFIGURE.env.CFLAGS = CFLAGS="-g" endif +else +ifeq (none,$(GCC.O)) + LIBDVDREAD.CONFIGURE.env.CFLAGS = CFLAGS="-O0" +endif endif LIBDVDREAD.CONFIGURE.extra = --enable-local-dlfcn |