This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
metaconfig.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597c09f
)
Use also $ccflags, not just $ldflags, when testing for gccness.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 2 Mar 2001 23:31:41 +0000
(23:31 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Fri, 2 Mar 2001 23:31:41 +0000
(23:31 +0000)
p4raw-id: //depot/metaconfig@8994
U/perl/gccvers.U
patch
|
blob
|
blame
|
history
diff --git
a/U/perl/gccvers.U
b/U/perl/gccvers.U
index
ebdf07b
..
dfa011e
100644
(file)
--- a/
U/perl/gccvers.U
+++ b/
U/perl/gccvers.U
@@
-44,7
+44,7
@@
int main() {
exit(0);
}
EOM
-if $cc -o gccvers $ldflags gccvers.c; then
+if $cc -o gccvers $
ccflags $
ldflags gccvers.c; then
gccversion=`./gccvers`
case "$gccversion" in
'') echo "You are not using GNU cc." ;;