Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: chromium/scripts/munge_config_posix_memalign.sh

Issue 9290059: Initial commit of all previous Chrome build scripts. (Closed) Base URL: http://git.chromium.org/chromium/third_party/ffmpeg.git@master
Patch Set: Drop deprecated subfolder. Created 8 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 # This script munges the config.h to mark posix_memalign unavailable so
6 # that the ffmpeg library can be linked against stdlib for
7 # MACOSX_DEPLOYMENT_TARGET < 10.7
8 # This is because we are building for older systems which did not have
9 # this functionality.
10 #
11 # Warning: in theory we should also disable this on config.asm but it is
12 # not yet used there.
13 set -e
14
15 sed -i.orig -e '
16 /HAVE_POSIX_MEMALIGN/ {
17 c\
18 #define HAVE_POSIX_MEMALIGN 0
19 }
20 ' \
21 $1
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698