From 2440b3e15810401dc06c0e8af82f90f621e7563e Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Sun, 6 Jul 2014 14:10:29 +0200 Subject: OSX/scons: Try to get rid of buildproblems with openjpeg enabled in certain build environments and prepend SDK_FLAGS to CFLAGS always --- extern/libopenjpeg/SConscript | 2 ++ 1 file changed, 2 insertions(+) (limited to 'extern') diff --git a/extern/libopenjpeg/SConscript b/extern/libopenjpeg/SConscript index f5c1f4f48ba..178875ddec3 100644 --- a/extern/libopenjpeg/SConscript +++ b/extern/libopenjpeg/SConscript @@ -13,6 +13,8 @@ defs = [] if env['OURPLATFORM'] in ('win32-vc', 'win64-vc'): flags = [] defs.append('OPJ_STATIC') +elif env['OURPLATFORM'] == 'darwin': + flags = ['-Wall', '-O3', '-ffast-math', '-std=c99'] + env['CCFLAGS'] # to supply SDK_FLAGS here else: flags = ['-Wall', '-O3', '-ffast-math', '-std=c99'] -- cgit v1.2.3