summaryrefslogtreecommitdiff
path: root/package/ffmpeg/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-14 21:03:39 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-14 21:03:39 +0200
commit8f14c0a6a92932e0cf7459e9243afbebfef78ac2 (patch)
tree35b286c30f8406dc378943e15d80dce621652c7c /package/ffmpeg/Makefile
parent1a4ca0013db4236f3e0ff8746a1787dbe560b970 (diff)
parent7c7cd30c44da0ca33ac86eeed01d7e9522b0c93a (diff)
Merge branch 'master' of git+ssh://www.openadk.org/git/openadk
Diffstat (limited to 'package/ffmpeg/Makefile')
-rw-r--r--package/ffmpeg/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/ffmpeg/Makefile b/package/ffmpeg/Makefile
index ec02cc545..4ba06e495 100644
--- a/package/ffmpeg/Makefile
+++ b/package/ffmpeg/Makefile
@@ -100,7 +100,11 @@ $(eval $(call PKG_template,FFSERVER,ffserver,${PKG_VERSION}-${PKG_RELEASE},${PKG
$(eval $(call PKG_template,FFPROBE,ffprobe,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_FFPROBE},${PKGSC_FFPROBE}))
#$(eval $(call PKG_template,FFPLAY,ffplay,${PKG_VERSION}-${PKG_RELEASE},${PKGSS_FFPLAY},${PKGSD_FFPLAY},${PKGSC_FFPLAY}))
+ifeq ($(ADK_DEBUG),y)
+TARGET_CFLAGS:= $(subst O0,O2,$(TARGET_CFLAGS))
+else
TARGET_CFLAGS:= $(subst Os,O2,$(TARGET_CFLAGS))
+endif
TARGET_CPPFLAGS+= -D_POSIX_SOURCE -D_GNU_SOURCE
ifeq ($(ADK_TARGET_CPU_WITH_MMX),y)