From 88de5b0a730ff613a8fff1d7dfd80735c6a4367a Mon Sep 17 00:00:00 2001 From: Mans Rullgard Date: Wed, 25 Apr 2012 21:15:39 +0100 Subject: build: icc: silence some warnings This disables the warning "external declaration in primary source file" which is issued when a prototype for an extern function is found in a .c file rather than a header file. We have such prototypes for asm functions where a separate header file would be pointless. Signed-off-by: Mans Rullgard --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 97db196..3632bda 100755 --- a/configure +++ b/configure @@ -3129,10 +3129,11 @@ if enabled icc; then # -wd: Disable following warnings # 144, 167, 556: -Wno-pointer-sign # 1292: attribute "foo" ignored + # 1419: external declaration in primary source file # 10006: ignoring unknown option -fno-signed-zeros # 10148: ignoring unknown option -Wno-parentheses # 10156: ignoring option '-W'; no argument required - check_cflags -wd144,167,556,1292,10006,10148,10156 + check_cflags -wd144,167,556,1292,1419,10006,10148,10156 # 11030: Warning unknown option --as-needed # 10156: ignoring option '-export'; no argument required check_ldflags -wd10156,11030 -- cgit v1.1 From 3510a13307226a0280d30b7f3fca6fbd962ecd9d Mon Sep 17 00:00:00 2001 From: Sean McGovern Date: Thu, 26 Apr 2012 06:11:52 +0100 Subject: configure: add libavresample to rpath Signed-off-by: Mans Rullgard --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure') diff --git a/configure b/configure index 3632bda..1dc2e3e 100755 --- a/configure +++ b/configure @@ -3084,7 +3084,7 @@ enabled extra_warnings && check_cflags -Winline # add some linker flags check_ldflags -Wl,--warn-common -check_ldflags -Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil +check_ldflags -Wl,-rpath-link=libswscale:libavfilter:libavdevice:libavformat:libavcodec:libavutil:libavresample test_ldflags -Wl,-Bsymbolic && append SHFLAGS -Wl,-Bsymbolic enabled xmm_clobber_test && \ -- cgit v1.1