mspace_malloc will call into mmap if it runs out of memory... this does not play...
[c11tester.git] / Makefile
index 19f9a2c06900c5835fae6d256ff91d83437dbdc3..c11ebb45c0e261d0f693a2c95d39d0a4db905592 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -39,7 +39,7 @@ $(LIB_SO): $(OBJECTS)
        $(CXX) $(SHARED) -o $(LIB_SO) $(OBJECTS) $(LDFLAGS)
 
 malloc.o: malloc.c
-       $(CC) -fPIC -c malloc.c -DMSPACES -DONLY_MSPACES $(CPPFLAGS)
+       $(CC) -fPIC -c malloc.c -DMSPACES -DONLY_MSPACES -DHAVE_MMAP=0 $(CPPFLAGS)
 
 %.o: %.cc
        $(CXX) -fPIC -c $< $(CPPFLAGS)