git://git.jankratochvil.net
/
macros.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
6459508
)
pre-clear $ENV{"CFLAGS"} to prevent the default autoconf "-g -O2" string
author
short
<>
Mon, 24 Mar 2003 00:07:00 +0000
(
00:07
+0000)
committer
short
<>
Mon, 24 Mar 2003 00:07:00 +0000
(
00:07
+0000)
AutoGen.pm
patch
|
blob
|
history
diff --git
a/AutoGen.pm
b/AutoGen.pm
index
ec5c50e
..
af3ffe1
100644
(file)
--- a/
AutoGen.pm
+++ b/
AutoGen.pm
@@
-440,6
+440,9
@@
my($class,%options)=@_;
return if $Options{"ARGV_dist"};
return if $Options{"ARGV_dist"};
+ # 'configure' defaults to CFLAGS '-g -O2' but our --enable-maintainer-mode
+ # should force '-ggdb3'
+ $ENV{"CFLAGS"}||="";
# shared/static switching cannot be based on maintainer-mode in configure
_system(qw(./configure --enable-maintainer-mode),
($Options{"want-libtoolize"} && qw(--enable-shared --disable-static)),
# shared/static switching cannot be based on maintainer-mode in configure
_system(qw(./configure --enable-maintainer-mode),
($Options{"want-libtoolize"} && qw(--enable-shared --disable-static)),