contrib: Adapt Tupfile
to upstream changes
This commit is contained in:
parent
9b216e0e79
commit
cb77b6d1c1
|
@ -16,7 +16,7 @@ static = no
|
||||||
suffix = .opt
|
suffix = .opt
|
||||||
|
|
||||||
CXX = g++
|
CXX = g++
|
||||||
CXXFLAGS = -pedantic -std=gnu++11 -Wall -Wno-reorder -Wno-sign-compare -Wno-address
|
CXXFLAGS = -pedantic -std=gnu++14 -Wall -Wno-unused-parameter -Wno-reorder -Wno-sign-compare -Wno-address -Wno-noexcept-type -Wno-unknown-attributes -Wno-unknown-warning-option
|
||||||
CPPFLAGS =
|
CPPFLAGS =
|
||||||
LDFLAGS =
|
LDFLAGS =
|
||||||
LIBS =
|
LIBS =
|
||||||
|
@ -43,8 +43,8 @@ else
|
||||||
LIBS += -lncursesw -ldbghelp
|
LIBS += -lncursesw -ldbghelp
|
||||||
CPPFLAGS += -D_XOPEN_SOURCE=700
|
CPPFLAGS += -D_XOPEN_SOURCE=700
|
||||||
else
|
else
|
||||||
LIBS += -lncursesw
|
LIBS += `pkg-config --libs ncursesw`
|
||||||
CPPFLAGS += -I/usr/include/ncursesw
|
CPPFLAGS += `pkg-config --cflags ncursesw`
|
||||||
|
|
||||||
ifeq ($(CXX),g++)
|
ifeq ($(CXX),g++)
|
||||||
LDFLAGS += -rdynamic
|
LDFLAGS += -rdynamic
|
||||||
|
|
Loading…
Reference in New Issue
Block a user