From 27359502071241363fe37f2e96a3c1717921c93a Mon Sep 17 00:00:00 2001 From: Nicolas Favre-Felix Date: Thu, 23 Feb 2023 07:19:17 -0800 Subject: [PATCH] Disable pragma warning on old versions of GCC Found with GCC 4.8.5 (released June 2015) --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bfa0bed..64a0482 100644 --- a/Makefile +++ b/Makefile @@ -5,7 +5,7 @@ B64_OBJS?=src/b64/cencode.o FORMAT_OBJS?=src/formats/json.o src/formats/raw.o src/formats/common.o src/formats/custom-type.o HTTP_PARSER_OBJS?=src/http-parser/http_parser.o -CFLAGS ?= -std=c99 -Wall -Wextra -Isrc -Isrc/jansson/src -Isrc/http-parser -MD -D_POSIX_C_SOURCE=200809L +CFLAGS ?= -std=c99 -Wall -Wextra -Isrc -Isrc/jansson/src -Isrc/http-parser -MD -D_POSIX_C_SOURCE=200809L -Wno-pragmas LDFLAGS ?= -levent -pthread # Pass preprocessor macros to the compile invocation