diff options
Diffstat (limited to 'package/jasper/jasper.mk')
-rw-r--r-- | package/jasper/jasper.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/package/jasper/jasper.mk b/package/jasper/jasper.mk index b2da07d763..db86ae88e1 100644 --- a/package/jasper/jasper.mk +++ b/package/jasper/jasper.mk @@ -14,4 +14,10 @@ JASPER_LICENSE_FILES = LICENSE # needed to fix rpath issue (http://autobuild.buildroot.net/results/307/307cac65287420252a5bb64715d9a1edd90e72fa/) JASPER_AUTORECONF = YES +# Xtensa gcc is unable to generate correct code with -O0 enabled by +# --enable-debug. Allow package build but disable debug. +ifeq ($(BR2_xtensa)$(BR2_ENABLE_DEBUG),yy) +JASPER_CONF_OPTS += --disable-debug +endif + $(eval $(autotools-package)) |