summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2003-01-15 01:59:58 +0000
committerMartin Schlemmer <azarah@gentoo.org>2003-01-15 01:59:58 +0000
commit26533e5499ff218c48393139c7cc2f0776053e39 (patch)
tree016304b2241c3bc0be084feba832ff4e3e65a486
parentadd wrappers to ~x86 (diff)
downloadgcc-config-26533e5499ff218c48393139c7cc2f0776053e39.tar.gz
gcc-config-26533e5499ff218c48393139c7cc2f0776053e39.tar.bz2
gcc-config-26533e5499ff218c48393139c7cc2f0776053e39.zip
fix wrapper calling cc-configv1.2.9
-rwxr-xr-xgcc-config2
-rw-r--r--wrapper.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/gcc-config b/gcc-config
index 0bb30fa..b84e46d 100755
--- a/gcc-config
+++ b/gcc-config
@@ -2,7 +2,7 @@
# Copyright 1999-2002 Gentoo Foundation
# Distributed under the terms of the GNU General Public License
# Author: Martin Schlemmer <azarah@gentoo.org>
-# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.2.8,v 1.1 2003/01/15 00:25:33 azarah Exp $
+# $Header: gentoo-x86/sys-devel/gcc-config/files/gcc-config-1.2.9,v 1.1 2003/01/15 01:59:58 azarah Exp $
source /etc/init.d/functions.sh || {
diff --git a/wrapper.c b/wrapper.c
index b1cd86c..a8497f0 100644
--- a/wrapper.c
+++ b/wrapper.c
@@ -2,7 +2,7 @@
* Copyright 1999-2003 Gentoo Foundation
* Distributed under the terms of the GNU General Public License v2
* Author: Martin Schlemmer <azarah@gentoo.org>
- * $Header: gentoo-x86/sys-devel/gcc-config/files/wrapper.c,v 1.1 2003/01/15 00:25:33 azarah Exp $
+ * $Header: gentoo-x86/sys-devel/gcc-config/files/wrapper.c,v 1.2 2003/01/15 01:59:58 azarah Exp $
*/
#define _REENTRANT
@@ -79,10 +79,10 @@ int main(int argc, char **argv) {
/* It is our wrapper, so get the CC path, and execute the real binary in
* there ... */
- inpipe = popen("/usr/bin/cc-config --get-bin-path", "r");
+ inpipe = popen("/usr/bin/gcc-config --get-bin-path", "r");
if (NULL == inpipe) {
- fprintf(stderr, "Could not run /usr/bin/cc-config!\n");
+ fprintf(stderr, "Could not run /usr/bin/gcc-config!\n");
exit(1);
}