diff options
author | jstebbins <[email protected]> | 2015-05-01 16:18:20 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-05-01 16:18:20 +0000 |
commit | 03e005469f8082732902f064f05374bd8c71bdfe (patch) | |
tree | a18ad90f8afc3994b3bde287658c311447009e85 /contrib | |
parent | e69d7220dce41a902486683ba97d928cbe4b8301 (diff) |
fdk-aac: enable compiler optimizations
git-svn-id: svn://svn.handbrake.fr/HandBrake/branches/0.10.x@7146 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/fdk-aac/module.defs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/contrib/fdk-aac/module.defs b/contrib/fdk-aac/module.defs index 454858a3b..075cbfb72 100644 --- a/contrib/fdk-aac/module.defs +++ b/contrib/fdk-aac/module.defs @@ -3,6 +3,11 @@ $(eval $(call import.CONTRIB.defs,FDKAAC)) FDKAAC.FETCH.url = http://download.handbrake.fr/handbrake/contrib/fdk-aac-v0.1.1-6-gbae4553.tar.bz2 +# fdk-aac configure script fails to add compiler optimizations if the +# CFLAGS env variable is set during configure. Since we set it, we +# also need to set the desired optimization option +FDKAAC.GCC.args.extra += $(FDKAAC.GCC.args.O.$(FDKAAC.GCC.O)) + ## optional static libs need to be marked FDKAAC.OSL.libs = fdk-aac FDKAAC.OSL.files = $(foreach i,$(FDKAAC.OSL.libs),$(call fn.ABSOLUTE,$(CONTRIB.build/)lib/lib$(i).a)) |