]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - makefile
Leaktest: store longer allocation origins.
[xonotic/darkplaces.git] / makefile
index 21990599269e840b3c399db0d4b43c30162e9fe3..970064c57f266fca1945e6e3a8f26993b6d30aa6 100644 (file)
--- a/makefile
+++ b/makefile
@@ -143,7 +143,7 @@ ifeq ($(DP_MAKE_TARGET), macosx)
        endif
 
        DP_LINK_ZLIB?=shared
-       DP_LINK_JPEG?=shared
+       DP_LINK_JPEG?=dlopen
        DP_LINK_ODE?=dlopen
        DP_LINK_CRYPTO?=dlopen
        DP_LINK_CRYPTO_RIJNDAEL?=dlopen
@@ -230,7 +230,7 @@ ifeq ($(WIN32RELEASE), 1)
 #      TARGET=i686-pc-mingw32
 #      CC=$(TARGET)-g++
 #      WINDRES=$(TARGET)-windres
-       CPUOPTIMIZATIONS=-march=i686 -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math
+       CPUOPTIMIZATIONS=-march=pentium3 -mfpmath=sse -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math
 #       CPUOPTIMIZATIONS+=-DUSE_WSPIAPI_H -DSUPPORTIPV6
        LDFLAGS_WINCOMMON=-Wl,--large-address-aware
 else
@@ -402,6 +402,10 @@ ifdef DP_PRELOAD_DEPENDENCIES
 endif
 endif
 
+CFLAGS_NET=
+# Systems without IPv6 support should uncomment this:
+#CFLAGS_NET+=-DNOSUPPORTIPV6
+
 ##### GNU Make specific definitions #####
 
 DO_LD=$(CC) -o ../../../$@ $^ $(LDFLAGS)