The flag is not unconditionally added to CFLAGS either and the
programs built on the host do not get habitually fed to a debugger.
---

This should fix linking of doc/print_options with suncc, which does
not strip unused static inline function references with -g.

 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 1ccd75f..ea3d8ca 100755
--- a/configure
+++ b/configure
@@ -2104,7 +2104,7 @@ HOSTCC_E='-E -o $@'
 HOSTCC_O='-o $@'
 HOSTLD_O='-o $@'
 
-host_cflags='-O3 -g'
+host_cflags='-O3'
 host_cppflags='-D_ISOC99_SOURCE'
 host_libs='-lm'
 host_cflags_filter=echo
-- 
1.8.3.2

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to