]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
use CFLAGS_ODE on prvm_cmd.c because it checks ODE_DYNAMIC and ODE_STATIC defines
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Mar 2012 04:25:25 +0000 (04:25 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Fri, 9 Mar 2012 19:00:34 +0000 (20:00 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11747 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=5f6013df0acabebeb17602e8824f4e450d010d9f

makefile.inc

index 48bd39ba7cfdb9d7ed3fb5c5485351e3d21d690f..d04e5f866d331853f9ce5a90d981ece0cd05608c 100644 (file)
@@ -489,6 +489,11 @@ snd_modplug.o: snd_modplug.c
        $(CHECKLEVEL2)
        $(DO_CC) $(CFLAGS_SND_MODPLUG)
 
+#this checks ODE_DYNAMIC and ODE_STATIC when compiling so it needs the ODE flags as well
+prvm_cmd.o: prvm_cmd.c
+       $(CHECKLEVEL2)
+       $(DO_CC) $(CFLAGS_ODE)
+
 world.o: world.c
        $(CHECKLEVEL2)
        $(DO_CC) $(CFLAGS_ODE)