From: Steinar H. Gunderson Date: Sun, 11 Oct 2015 18:57:34 +0000 (+0200) Subject: Compile with -Werror. X-Git-Tag: 1.0.0~248 X-Git-Url: https://git.sesse.net/?p=nageru;a=commitdiff_plain;h=e8ed7a15670ca323f24048c52ed27306af9fc641 Compile with -Werror. --- diff --git a/Makefile b/Makefile index 5d9e6ab..4c2b36d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ CXX=g++ PKG_MODULES = Qt5Core Qt5Gui Qt5Widgets Qt5OpenGLExtensions Qt5OpenGL libusb-1.0 movit lua5.2 -CXXFLAGS := -O2 -march=native -g -std=gnu++11 -Wall -Wno-deprecated-declarations -fPIC $(shell pkg-config --cflags $(PKG_MODULES)) -pthread -DMOVIT_SHADER_DIR=\"$(shell pkg-config --variable=shaderdir movit)\" +CXXFLAGS := -O2 -march=native -g -std=gnu++11 -Wall -Wno-deprecated-declarations -Werror -fPIC $(shell pkg-config --cflags $(PKG_MODULES)) -pthread -DMOVIT_SHADER_DIR=\"$(shell pkg-config --variable=shaderdir movit)\" LDFLAGS=$(shell pkg-config --libs $(PKG_MODULES)) -lEGL -lGL -pthread -lva -lva-drm -lva-x11 -lX11 -lavformat -lavcodec -lavutil -lzita-resampler # Qt objects