From: Brian Norris Date: Mon, 29 Oct 2012 18:23:26 +0000 (-0700) Subject: Makefile/malloc: don't warn for self-assign X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=dfce798347b60b1bff6df0cdb51b786f4ca02d7f;p=c11tester.git Makefile/malloc: don't warn for self-assign --- diff --git a/Makefile b/Makefile index 523709f0..657bad65 100644 --- 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 -DHAVE_MMAP=0 $(CPPFLAGS) -Wno-unused-variable + $(CC) -fPIC -c malloc.c -DMSPACES -DONLY_MSPACES -DHAVE_MMAP=0 $(CPPFLAGS) -Wno-unused-variable -Wno-self-assign %.o: %.cc $(CXX) -fPIC -c $< $(CPPFLAGS)