summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFrank LENORMAND <lenormf@gmail.com>2017-01-14 11:53:53 +0300
committerFrank LENORMAND <lenormf@gmail.com>2017-01-14 11:55:20 +0300
commit0b22938bceba692d31e6f38e0dbb0c620762f809 (patch)
tree52657b5e4167c8916328c6756c39a7ec05922071 /src
parente7e72747edfcba76f7fc36e2e345577ffeb47eab (diff)
Remove the option that excludes the `-pedantic` flag from `CXXFLAGS`
Allowing compilation without the `-pedantic` flag was a temporary trick to work around a bug involving `libstdc++` and `musl`. A fix has been pushed for the issue in the appropriate repositories, we no longer need the optional non-pedantic compilation option.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index 4f9be7ba..b2186394 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,5 @@
debug ?= yes
static ?= no
-pedantic ?= yes
ifeq ($(debug),yes)
CPPFLAGS += -DKAK_DEBUG
@@ -14,10 +13,6 @@ else
endif
endif
-ifeq ($(pedantic),yes)
- CXXFLAGS += -pedantic
-endif
-
sources := $(wildcard *.cc)
objects := $(addprefix ., $(sources:.cc=$(suffix).o))
deps := $(addprefix ., $(sources:.cc=$(suffix).d))
@@ -64,7 +59,7 @@ ifeq ($(static),yes)
LDFLAGS += -static -pthread
endif
-CXXFLAGS += -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address
+CXXFLAGS += -pedantic -std=gnu++11 -g -Wall -Wno-reorder -Wno-sign-compare -Wno-address
all : kak
kak : $(objects)