Hi!

Attached patch fixes many warnings when compiling for sparc.

Please comment, Carl Eugen
From 9239602b04abb2ee7b986897923a929a2e6a5028 Mon Sep 17 00:00:00 2001
From: Carl Eugen Hoyos <ceffm...@gmail.com>
Date: Sun, 9 Sep 2018 01:01:24 +0200
Subject: [PATCH] configure: Do not use -fomit-frame-pointer on sparc.

Silences many warnings on compilation.
---
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 0d6ee0a..556414e 100755
--- a/configure
+++ b/configure
@@ -5471,7 +5471,7 @@ set_default libdir
 set_default $PATHS_LIST
 set_default nm
 
-disabled optimizations || enabled ossfuzz || check_cflags -fomit-frame-pointer
+disabled optimizations || enabled ossfuzz || enabled sparc || check_cflags -fomit-frame-pointer
 
 enable_weak_pic() {
     disabled pic && return
-- 
1.7.10.4

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to