From 2e8d305b9e8d7f7d322d8c4ed7159d6abdb2ee59 Mon Sep 17 00:00:00 2001 From: Leon Henrik Plickat Date: Fri, 17 Nov 2023 07:05:36 +0100 Subject: [PATCH] Add -Wno-strict-prototypes to allow compiling wlopm with clang --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 13a5e31..5d2ac12 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ PREFIX=/usr/local BINDIR=$(PREFIX)/bin MANDIR=$(PREFIX)/share/man -CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result +CFLAGS+=-Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result -Wno-strict-prototypes LIBS=-lwayland-client OBJ=wlopm.o wlr-output-power-management-unstable-v1.o GEN=wlr-output-power-management-unstable-v1.c wlr-output-power-management-unstable-v1.h