diff options
author | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-31 09:21:27 -0600 |
---|---|---|
committer | Leonardo Hernández Hernández <leohdz172@protonmail.com> | 2022-03-31 09:21:27 -0600 |
commit | 2d6f932ecfc9580721cfa6a2f8dfa22d2af540c8 (patch) | |
tree | a98b68689e2b413092e7193fb8ed813ed8687a3f | |
parent | aab397c30b9b9e4223a4f408431eb3aa5521cb92 (diff) |
don't let -pedantic be overridable by environment
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | config.mk | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1,6 +1,6 @@ include config.mk -CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 +CFLAGS += -I. -DWLR_USE_UNSTABLE -std=c99 -pedantic WAYLAND_PROTOCOLS=$(shell pkg-config --variable=pkgdatadir wayland-protocols) WAYLAND_SCANNER=$(shell pkg-config --variable=wayland_scanner wayland-scanner) @@ -3,7 +3,7 @@ PREFIX = /usr/local MANDIR = $(PREFIX)/share/man # Default compile flags (overridable by environment) -CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement -pedantic +CFLAGS ?= -g -Wall -Wextra -Werror -Wno-unused-parameter -Wno-sign-compare -Wno-unused-function -Wno-unused-variable -Wno-unused-result -Wdeclaration-after-statement # Uncomment to build XWayland support #CFLAGS += -DXWAYLAND |