(CFLAGS): Define, if no definition is provided.
(CXX): Likewise.
(CXXFLAGS): Likewise.
+2005-05-27 Mark Mitchell <mark@codesourcery.com>
+
+ * config/default.exp (CC): Use find_gcc.
+ (CFLAGS): Define, if no definition has been provided by the user.
+ (CXX): Likewise.
+ (CXXFLAGS): Likewise.
+
2005-05-24 H.J. Lu <hongjiu.lu@intel.com>
* ld-mmix/bpo-6.d: Updated.
* config/default.exp: Do not load libpath.exp if it does not
exist.
(CC): Provide fallback definition.
- (CFLAGS): Likewise.
- (CXX): Likewise.
- (CXXFLAGS): Likewise.
2005-03-24 Eric Christopher <echristo@redhat.com>
# The "make check" target in the Makefile passes in
# "CC=$(CC_FOR_TARGET)". But, if the user invokes runtest directly
-# (as when testing an installed linker), CC may not be set.
+# (as when testing an installed linker), these flags may not be set.
if {![info exists CC]} {
- set CC [transform gcc]
+ set CC [find_gcc]
+}
+if {![info exists CFLAGS]} {
+ set CFLAGS "-g -O2"
+}
+if {![info exists CXX]} {
+ set CXX [find_g++]
+}
+if {![info exists CXXFLAGS]} {
+ set CXXFLAGS ""
}
# The mips64-*-linux-gnu compiler defaults to the N32 ABI after