[libav-commits] build: Do not add -g to HOSTCFLAGS

Diego Biurrun git at libav.org
Fri Dec 13 17:21:32 CET 2013


Module: libav
Branch: master
Commit: a1d7d5524799bd90bc5d12e8b3063238cc0c02dd

Author:    Diego Biurrun <diego at biurrun.de>
Committer: Diego Biurrun <diego at biurrun.de>
Date:      Thu Dec 12 00:04:27 2013 +0100

build: Do not add -g to HOSTCFLAGS

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

---

 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



More information about the libav-commits mailing list