summaryrefslogtreecommitdiffstats
path: root/Modules/makesetup
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-03-02 07:09:54 (GMT)
committerGuido van Rossum <guido@python.org>2001-03-02 07:09:54 (GMT)
commitad2c3c7b69e3c93b1bcd9fdfdb5891a015c1f3ba (patch)
treeff00b72840d90522e879419d316261a8526016d5 /Modules/makesetup
parentb7fe432a8863d876670f6753abb9f92f20bea399 (diff)
downloadcpython-ad2c3c7b69e3c93b1bcd9fdfdb5891a015c1f3ba.zip
cpython-ad2c3c7b69e3c93b1bcd9fdfdb5891a015c1f3ba.tar.gz
cpython-ad2c3c7b69e3c93b1bcd9fdfdb5891a015c1f3ba.tar.bz2
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.
Diffstat (limited to 'Modules/makesetup')
-rwxr-xr-xModules/makesetup2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/makesetup b/Modules/makesetup
index b22933d..8fd6d5e 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"