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

Side by Side Diff: build_ffmpeg.sh

Issue 8555017: Add --no-seh to linker command line when building Windows FFmpeg binaries. (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/ffmpeg/
Patch Set: Created 9 years, 1 month 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 | Annotate | Revision Log
« no previous file with comments | « binaries/win/avutil-51.dll ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/bash -e 1 #!/bin/bash -e
2 2
3 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 3 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # Builds Chromium, Google Chrome and *OS FFmpeg binaries. 7 # Builds Chromium, Google Chrome and *OS FFmpeg binaries.
8 # 8 #
9 # For Windows it assumes being run from a MinGW shell with Visual Studio 9 # For Windows it assumes being run from a MinGW shell with Visual Studio
10 # environment (i.e., lib.exe and editbin.exe are in $PATH). 10 # environment (i.e., lib.exe and editbin.exe are in $PATH).
(...skipping 298 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 if [ "$HOST_OS" = "win" ]; then 309 if [ "$HOST_OS" = "win" ]; then
310 if [ "$TARGET_ARCH" = "ia32" ]; then 310 if [ "$TARGET_ARCH" = "ia32" ]; then
311 add_flag_common --enable-filter=buffer 311 add_flag_common --enable-filter=buffer
312 add_flag_common --enable-memalign-hack 312 add_flag_common --enable-memalign-hack
313 add_flag_common --cc=mingw32-gcc 313 add_flag_common --cc=mingw32-gcc
314 add_flag_common --extra-cflags=-mtune=atom 314 add_flag_common --extra-cflags=-mtune=atom
315 add_flag_common --extra-cflags=-U__STRICT_ANSI__ 315 add_flag_common --extra-cflags=-U__STRICT_ANSI__
316 add_flag_common --extra-cflags=-I/usr/local/include 316 add_flag_common --extra-cflags=-I/usr/local/include
317 add_flag_common --extra-ldflags=-L/usr/local/lib 317 add_flag_common --extra-ldflags=-L/usr/local/lib
318 add_flag_common --extra-ldflags=-Wl,--enable-auto-import 318 add_flag_common --extra-ldflags=-Wl,--enable-auto-import
319 add_flag_common --extra-ldflags=-Wl,--no-seh
319 else 320 else
320 echo "Error: Unknown TARGET_ARCH=$TARGET_ARCH for TARGET_OS=$TARGET_OS!" 321 echo "Error: Unknown TARGET_ARCH=$TARGET_ARCH for TARGET_OS=$TARGET_OS!"
321 exit 322 exit
322 fi 323 fi
323 else 324 else
324 echo "Script should be run on Windows host. If this is not possible try a " 325 echo "Script should be run on Windows host. If this is not possible try a "
325 echo "merge of config files with new linux ia32 config.h by hand." 326 echo "merge of config files with new linux ia32 config.h by hand."
326 exit 327 exit
327 fi 328 fi
328 fi 329 fi
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
384 build Chrome $FLAGS_COMMON $FLAGS_CHROME 385 build Chrome $FLAGS_COMMON $FLAGS_CHROME
385 386
386 if [ "$TARGET_OS" = "linux" ]; then 387 if [ "$TARGET_OS" = "linux" ]; then
387 echo "ChromiumOS configure/build:" 388 echo "ChromiumOS configure/build:"
388 build ChromiumOS $FLAGS_COMMON $FLAGS_CHROMIUM $FLAGS_CHROMIUMOS 389 build ChromiumOS $FLAGS_COMMON $FLAGS_CHROMIUM $FLAGS_CHROMIUMOS
389 echo "ChromeOS configure/build:" 390 echo "ChromeOS configure/build:"
390 build ChromeOS $FLAGS_COMMON $FLAGS_CHROME $FLAGS_CHROMEOS 391 build ChromeOS $FLAGS_COMMON $FLAGS_CHROME $FLAGS_CHROMEOS
391 fi 392 fi
392 393
393 echo "Done. If desired you may copy config.h/config.asm into the source/config t ree using copy_config.sh." 394 echo "Done. If desired you may copy config.h/config.asm into the source/config t ree using copy_config.sh."
OLDNEW
« no previous file with comments | « binaries/win/avutil-51.dll ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698