• R/O
  • HTTP
  • SSH
  • HTTPS

ffmpeg_saccubus: Commit

さきゅばす/いんきゅばす用ffmpeg


Commit MetaInfo

Revisiond7e98ea6acd0e01b26ec1084eb00b9cb06e59111 (tree)
Zeit2010-06-16 04:44:30
AutorReinhard Tartler <siretart@tauw...>
CommiterReinhard Tartler

Log Message

configure: fix symver detection with icc 10

Apparently the compiler sometimes bypasses the normal assembler, in
which case the asm label variant works. If the file contains any
inline asm, this bypassing is not done, and the assembler chokes on
invalid syntax. Inserting a dummy asm() statement in the test when
the compiler supports it makes sure no shortcuts are taken and the
test fails as it should.

backport r23616 by mru

Originally committed as revision 23618 to svn://svn.ffmpeg.org/ffmpeg/branches/0.6

Ändern Zusammenfassung

Diff

--- a/configure
+++ b/configure
@@ -253,6 +253,8 @@ EOF
253253 exit 0
254254 }
255255
256+quotes='""'
257+
256258 log(){
257259 echo "$@" >> $logfile
258260 }
@@ -2741,7 +2743,7 @@ if test_ldflags -Wl,--version-script,$TMPV; then
27412743 append SHFLAGS '-Wl,--version-script,\$(SUBDIR)lib\$(NAME).ver'
27422744 check_cc <<EOF && enable symver_asm_label
27432745 void ff_foo(void) __asm__ ("av_foo@VERSION");
2744-void ff_foo(void) {}
2746+void ff_foo(void) { ${inline_asm+__asm__($quotes);} }
27452747 EOF
27462748 check_cc <<EOF && enable symver_gnu_asm
27472749 __asm__(".symver ff_foo,av_foo@VERSION");
Show on old repository browser