summaryrefslogtreecommitdiff
path: root/external
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2015-09-17 10:51:20 +0200
committerStephan Bergmann <sbergman@redhat.com>2015-09-17 10:51:50 +0200
commit8729504f93c8b59cb2fd6145a1f02987d5fcdb47 (patch)
tree689136273f45a827da354645d0f2e471d43603ea /external
parentea165c171661cb13e4b8a41048880b7fa7eebc08 (diff)
external/jpeg-turbo: pass (debug) CFLAGS into external build process
Change-Id: I51db4784135be1d66f3fede5f87fcb5cd786fbc9
Diffstat (limited to 'external')
-rw-r--r--external/jpeg-turbo/ExternalProject_jpeg-turbo.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk b/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk
index c913d70ca662..5809ff2970e6 100644
--- a/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk
+++ b/external/jpeg-turbo/ExternalProject_jpeg-turbo.mk
@@ -32,6 +32,7 @@ $(call gb_ExternalProject_get_state_target,jpeg-turbo,configure) :
--with-jpeg8 \
--without-java \
--without-turbojpeg \
+ CFLAGS='$(if $(debug),$(gb_DEBUG_CFLAGS),$(gb_COMPILEROPTFLAGS))' \
)
# vim: set noet sw=4 ts=4: