[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug] CC="gcc -someoption" loses the -someoption in untagged configurati
From: |
Max Bowsher |
Subject: |
[Bug] CC="gcc -someoption" loses the -someoption in untagged configuration (Works for tagged configuration) |
Date: |
Wed, 4 Dec 2002 22:22:50 -0000 |
Hi - Subject says it all, really.
The -someoption isn't present in the untagged CC= in the generated libtool.
(In is in LTCC=, incidentally.)
All works ok with a tagged (e.g. CXX) configuration.
I've been working around this with this adhoc patch - mostly created by
educated guessing than a true understanding of the libtool code.
Max.
--- /usr/autotool/devel/share/aclocal/libtool.m4.orig 2002-12-04
22:12:47.000000000 +0000
+++ /usr/autotool/devel/share/aclocal/libtool.m4 2002-12-04
22:15:10.000000000 +0000
@@ -2295,6 +2295,9 @@
_LT_AC_SYS_COMPILER
+# Allow CC to be a program name with arguments.
+_LT_AC_TAGVAR(compiler, $1)="$CC"
+
#
# Check for any special shared library compilation flags.
#
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug] CC="gcc -someoption" loses the -someoption in untagged configuration (Works for tagged configuration),
Max Bowsher <=