]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Extra fix from bbum (SF #402357) for his previous patch:
authorGuido van Rossum <guido@python.org>
Fri, 2 Mar 2001 07:09:54 +0000 (07:09 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 2 Mar 2001 07:09:54 +0000 (07:09 +0000)
  It should use the normal CC referenced compiler as ObjC is integrated
  directly into gcc and enabled through the use of the -ObjC flag.

Modules/makesetup

index b22933d4a004627bf3221420da12d31cb3660575..8fd6d5e0afbb73b53e0d39cd7646606efc67ca2e 100755 (executable)
@@ -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"