From 119cb5a06fe01ac497bc045a7eaae48f28d20198 Mon Sep 17 00:00:00 2001 From: =?utf8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Tue, 2 Feb 2021 22:39:54 +0100 Subject: [PATCH] Don't treat format-security warnings as errors src/utils/log.h provides their own fprintf/printf replacements, which obviously take a non-fixed format-string LATER: think about tightening the no-error to just src/utils/log.h --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index dd36476..6c7a8b3 100755 --- a/debian/rules +++ b/debian/rules @@ -12,7 +12,7 @@ endif JUCE_VERSION := $(shell dpkg-query --show --showformat='$${source:Version}' juce-modules-source) CPPFLAGS+=-DBUILD_DATE='"$(BUILD_DATE)"' -CXXFLAGS+=-std=c++17 -Wno-error +CXXFLAGS+=-std=c++17 -Wno-error -Wno-error=format-security LIBS=$(shell pkg-config --libs libjpeg libpng libcurl) # JUCE (used by giada) uses some c++11 features requiring atomic_store_8 and -- 2.30.2