diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/imagemagick.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -11,7 +11,7 @@ BINDIR = $(PREFIX)/bin CONFIG ?= ../config -include configs/$(CONFIG).mk -CFLAGS ?= -O3 +CFLAGS ?= -O3 -DNDEBUG meh: $(OBJFILES) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJFILES) $(LIBS) diff --git a/src/imagemagick.c b/src/imagemagick.c index 4fbb8cb..e327685 100644 --- a/src/imagemagick.c +++ b/src/imagemagick.c @@ -34,7 +34,7 @@ struct image *imagemagick_open(FILE *f){ asprintf(&argv[4], "ppm:fd:%i", tmpfd[1]); argv[5] = NULL; -#ifndef NDEBUG +#ifdef NDEBUG /* STFU OMFG */ freopen("/dev/null", "w", stdout); freopen("/dev/null", "w", stderr); |