From d4acae1759c4792710fc12438b588ea15314c9a6 Mon Sep 17 00:00:00 2001 From: Marco Peereboom Date: Fri, 29 Apr 2016 07:25:35 -0500 Subject: [PATCH] Revert "-Werror, because we care" This reverts commit 962991cc9997f8d4e8aed2aa774e830c0d800af3. Suggested by LordReg. Damn him and all his making sense. --- Makefile | 3 +-- osx/Makefile | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index ea7f31c..2a399c9 100644 --- a/Makefile +++ b/Makefile @@ -9,8 +9,7 @@ PROG=spectrwm #MAN=spectrwm_pt.1 spectrwm_ru.1 spectrwm_es.1 spectrwm_it.1 MAN=spectrwm.1 -CFLAGS+=-std=c99 -Wmissing-prototypes -Werror -Wall -Wextra -Wshadow -CFLAGS+=-Wno-uninitialized -g +CFLAGS+=-std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g # Uncomment define below to disallow user settable clock format string #CFLAGS+=-DSWM_DENY_CLOCK_FORMAT CPPFLAGS+= -I${X11BASE}/include -I${X11BASE}/include/freetype2 diff --git a/osx/Makefile b/osx/Makefile index d3aa263..f52fd9c 100644 --- a/osx/Makefile +++ b/osx/Makefile @@ -22,8 +22,8 @@ LDADD+= -lxcb-keysyms -lxcb-util -lxcb-randr -lX11-xcb -lxcb-xtest -lxcb -lxcb- LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor) -CFLAGS+= -std=c99 -Wmissing-prototypes -Werror -Wall -Wextra -Wshadow -CFLAGS+= -Wno-uninitialized -g -O2 -D_GNU_SOURCE -D__OSX__ -I. -I.. ${INCFLAGS} +CFLAGS+= -std=c99 -Wmissing-prototypes -Wall -Wextra -Wshadow -Wno-uninitialized -g +CFLAGS+= -O2 -D_GNU_SOURCE -D__OSX__ -I. -I.. ${INCFLAGS} CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\" ifneq ("${BUILDVERSION}", "") CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\" -- 2.39.2