Skip to content

Commit ad2c3c7

Browse files
committed
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.
1 parent b7fe432 commit ad2c3c7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Modules/makesetup

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ sed -e 's/[ ]*#.*//' -e '/^[ ]*$/d' |
204204
*.C) obj=`basename $src .C`.o; cc='$(CXX)';;
205205
*.cxx) obj=`basename $src .cxx`.o; cc='$(CXX)';;
206206
*.cpp) obj=`basename $src .cpp`.o; cc='$(CXX)';;
207-
*.m) obj=`basename $src .m`.o; cc='$(CXX)';; # Obj-C
207+
*.m) obj=`basename $src .m`.o; cc='$(CC)';; # Obj-C
208208
*) continue;;
209209
esac
210210
obj="$srcdir/$obj"

0 commit comments

Comments
 (0)