diff options
author | Diego Biurrun <diego@biurrun.de> | 2018-03-29 09:24:34 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2018-03-30 10:12:13 +0200 |
commit | e744281c49496b0e0a357e9f84c37fbf99215e20 (patch) | |
tree | 91af9674ecd50cad51e198c909fb53915688b057 | |
parent | ea3320bb828553182fb34e164826f95df5743522 (diff) | |
download | ffmpeg-e744281c49496b0e0a357e9f84c37fbf99215e20.tar.gz |
configure: Revert some incorrect uses of check_cc()
-rwxr-xr-x | configure | 16 |
1 files changed, 11 insertions, 5 deletions
@@ -4846,7 +4846,9 @@ check_disable_warning_headers -Wno-unused-variable check_objcflags -fobjc-arc && enable objc_arc -check_cc blocks_extension "" "void (^block)(void)" +test_cc <<EOF && enable blocks_extension +void (^block)(void); +EOF # add some linker flags check_ldflags -Wl,--warn-common @@ -4900,10 +4902,14 @@ if enabled proper_dce; then if test_ldflags -Wl,${version_script},$TMPV; then append SHFLAGS '-Wl,${version_script},\$(SUBDIR)lib\$(NAME).ver' quotes='""' - check_cc symver_asm_label "" "void ff_foo(void) __asm__ ("av_foo@VERSION"); - void ff_foo(void) { ${inline_asm+__asm__($quotes);} }" - check_cc symver_gnu_asm "" "__asm__(".symver ff_foo,av_foo@VERSION"); - void ff_foo(void) {}" + test_cc <<EOF && enable symver_asm_label +void ff_foo(void) __asm__ ("av_foo@VERSION"); +void ff_foo(void) { ${inline_asm+__asm__($quotes);} } +EOF + test_cc <<EOF && enable symver_gnu_asm +__asm__(".symver ff_foo,av_foo@VERSION"); +void ff_foo(void) {} +EOF fi fi |