aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25
diff options
context:
space:
mode:
authorFilippos Karapetis2010-10-13 17:33:13 +0000
committerFilippos Karapetis2010-10-13 17:33:13 +0000
commita52f986125305ff8dd57e65c2c6d2c53e15064a2 (patch)
tree997d4da34953906948245b270e7a96b441356dd1 /engines/sword25
parent737c2dd0ba9c5fb609b443da5ec25d520e710129 (diff)
downloadscummvm-rg350-a52f986125305ff8dd57e65c2c6d2c53e15064a2.tar.gz
scummvm-rg350-a52f986125305ff8dd57e65c2c6d2c53e15064a2.tar.bz2
scummvm-rg350-a52f986125305ff8dd57e65c2c6d2c53e15064a2.zip
SWORD25: Use $(CXX) -x c to build C files (hopefully this fixes compilation)
svn-id: r53438
Diffstat (limited to 'engines/sword25')
-rw-r--r--engines/sword25/module.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/module.mk b/engines/sword25/module.mk
index 6efc378c0f..cb345560d6 100644
--- a/engines/sword25/module.mk
+++ b/engines/sword25/module.mk
@@ -106,7 +106,7 @@ endif
# HACK. Use proper CC compiler here
%.o: %.c
$(QUIET)$(MKDIR) $(*D)/$(DEPDIR)
- $(QUIET_CXX)gcc $(CXX_UPDATE_DEP_FLAG) $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
+ $(QUIET_CXX)$(CXX) -x c $(CXX_UPDATE_DEP_FLAG) $(CXXFLAGS) $(CPPFLAGS) -c $(<) -o $*.o
# This module can be built as a plugin
ifeq ($(ENABLE_SWORD25), DYNAMIC_PLUGIN)