Idea by John Stebbins. Thanks!
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/opencl@5489
b64f7644-9d1e-0410-96f1-
a4d463321fa5
MACOSX.map.g.std = debug
MACOSX.map.g.max = debug
+ifeq (1,$(FEATURE.opencl))
+MACOSX.extra_cflags = OTHER_CFLAGS='-DUSE_OPENCL'
+endif
+
ifeq (1,$(FEATURE.fdk_aac))
MACOSX.extra_ldflags = OTHER_LDFLAGS='$(abspath $(BUILD))/contrib/lib/libfdk-aac.a'
endif
EXTERNAL_JOBS='$(BUILD.jobs)' \
EXTERNAL_VARS='$(-*-command-variables-*-)' \
\
+ $(MACOSX.extra_cflags) \
$(MACOSX.extra_ldflags) \
\
$(2) )