Skip to content
Snippets Groups Projects
Commit 907eb3b5 authored by Carl Eugen Hoyos's avatar Carl Eugen Hoyos
Browse files

Allow icc to compile with optimizations (pentium3, pentium4 or core2).

Originally committed as revision 13119 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 504a64b9
No related branches found
No related tags found
No related merge requests found
...@@ -1827,6 +1827,8 @@ if $cc --version | grep -q Intel; then ...@@ -1827,6 +1827,8 @@ if $cc --version | grep -q Intel; then
# 11030: Warning unknown option --as-needed # 11030: Warning unknown option --as-needed
# 10156: ignoring option '-export'; no argument required # 10156: ignoring option '-export'; no argument required
check_ldflags -wd10156,11030 check_ldflags -wd10156,11030
# Allow to compile with optimizations
check_ldflags -march=$cpu
fi fi
# PIC flags for shared library objects where they are needed # PIC flags for shared library objects where they are needed
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment