build: Do not add -g to HOSTCFLAGS
authorDiego Biurrun <diego@biurrun.de>
Wed, 11 Dec 2013 23:04:27 +0000 (00:04 +0100)
committerDiego Biurrun <diego@biurrun.de>
Fri, 13 Dec 2013 15:47:49 +0000 (16:47 +0100)
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

index 1ccd75f..ea3d8ca 100755 (executable)
--- 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