From 3989c370b898f9d7c4770edc219fb10709e754f8 Mon Sep 17 00:00:00 2001 From: Jordan Bancino Date: Wed, 27 Jul 2022 13:45:19 -0400 Subject: [PATCH] Remove -Werror for now. The program should still compile if there is an unused function. Of course, if we are making a release, we should be sure to make sure there are no unused symbols. --- make.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.sh b/make.sh index 7177155..e17bb02 100644 --- a/make.sh +++ b/make.sh @@ -15,7 +15,7 @@ : "${INCLUDES:=-Isrc/include}" : "${CC:=cc}" -: "${CFLAGS:=-Wall -Werror -Wextra -pedantic -ansi -std=c89 -O3 $HEADERS $INCLUDES}" +: "${CFLAGS:=-Wall -Wextra -pedantic -ansi -std=c89 -O3 $HEADERS $INCLUDES}" : "${LDFLAGS:=-static -flto -fdata-sections -ffunction-sections -s -Wl,-static -Wl,-gc-sections}" : "${PROG:=telodendria}"