Revert r124240.
I fixed yasm to no longer emit this warning, see
http://tortall.lighthouseapp.com/projects/78676-yasm/tickets/246
Review URL: https://chromiumcodereview.appspot.com/9666044
git-svn-id: http://src.chromium.org/svn/trunk/deps/third_party/libjpeg_turbo@126090 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
diff --git a/libjpeg.gyp b/libjpeg.gyp
index 47118bc..c8e8c83 100644
--- a/libjpeg.gyp
+++ b/libjpeg.gyp
@@ -193,7 +193,6 @@
'-DMSVC',
'-Iwin/'
],
- 'yasm_output_filter': [],
},
}],
[ 'OS=="mac"', {
@@ -207,14 +206,6 @@
'-DMACHO',
'-Imac/'
],
- # On Mac, jsimdext.inc contains a "SECTION SEG_CONST". This file
- # is included by all .asm file, and most files contain another
- # "SECTION SEG_CONST". SEG_CONST is ".rodata align=16" on mac,
- # which leads to
- # "warning: section flags ignored on section redeclaration"
- # warnings on all .asm files. This script filters out this
- # warning.
- 'yasm_output_filter': ['./yasm-filter.sh'],
},
}],
[ 'OS=="linux"', {
@@ -240,7 +231,6 @@
'-DELF',
'-Ilinux/'
],
- 'yasm_output_filter': [],
}, {
'yasm_format': '-felf64',
'yasm_flag': '-D__x86_64__',
@@ -249,7 +239,6 @@
'-DELF',
'-Ilinux/'
],
- 'yasm_output_filter': [],
}],
],
},
@@ -266,7 +255,6 @@
'<(shared_generated_dir)/<(RULE_INPUT_ROOT).<(object_suffix)',
],
'action': [
- '<@(yasm_output_filter)',
'<(yasm_path)',
'<(yasm_format)',
'<@(yasm_flags)',
diff --git a/yasm-filter.sh b/yasm-filter.sh
deleted file mode 100755
index ad00688..0000000
--- a/yasm-filter.sh
+++ /dev/null
@@ -1,6 +0,0 @@
-#!/bin/bash
-
-# Filters out "section flags ignored on section redeclaration" warnings. See
-# libjpeg.gyp for why.
-# http://hans.fugal.net/blog/2008/08/25/filter-stderr/
-"$@" 2> >(grep -v "section flags ignored on section redeclaration" 1>&2)