From: Guido van Rossum Date: Fri, 2 Mar 2001 07:09:54 +0000 (+0000) Subject: Extra fix from bbum (SF #402357) for his previous patch: X-Git-Tag: v2.1b1~13 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ad2c3c7b69e3c93b1bcd9fdfdb5891a015c1f3ba;p=thirdparty%2FPython%2Fcpython.git Extra fix from bbum (SF #402357) for his previous patch: It should use the normal CC referenced compiler as ObjC is integrated directly into gcc and enabled through the use of the -ObjC flag. --- diff --git a/Modules/makesetup b/Modules/makesetup index b22933d4a004..8fd6d5e0afbb 100755 --- a/Modules/makesetup +++ b/Modules/makesetup @@ -204,7 +204,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' | *.C) obj=`basename $src .C`.o; cc='$(CXX)';; *.cxx) obj=`basename $src .cxx`.o; cc='$(CXX)';; *.cpp) obj=`basename $src .cpp`.o; cc='$(CXX)';; - *.m) obj=`basename $src .m`.o; cc='$(CXX)';; # Obj-C + *.m) obj=`basename $src .m`.o; cc='$(CC)';; # Obj-C *) continue;; esac obj="$srcdir/$obj"