Unbreak llvm13 build by removing -Werror

found by sthen@

ok sthen@ solene@
This commit is contained in:
sdk 2021-11-29 13:25:38 +00:00
parent 265271ddf8
commit ae18f3d062

View File

@ -0,0 +1,31 @@
$OpenBSD: patch-Makefile,v 1.1 2021/11/29 13:25:38 sdk Exp $
No -Werror
Index: Makefile
--- Makefile.orig
+++ Makefile
@@ -12,7 +12,7 @@ VERSION ?= 0.6
UNAME != uname -s
# FLAGS NEEDED TO BUILD SQLITE3
-SQLITE_CFLAGS = ${CFLAGS} -Wall -Werror -Wno-sign-compare -pedantic -std=c99 \
+SQLITE_CFLAGS = ${CFLAGS} -Wall -Wno-sign-compare -pedantic -std=c99 \
-DNDEBUG=1 \
-DSQLITE_DQS=0 \
-DSQLITE_THREADSAFE=0 \
@@ -39,12 +39,12 @@ SQLITE_CFLAGS = ${CFLAGS} -Wall -Werror -Wno-sign-comp
-DSQLITE_TRUSTED_SCHEMA=0
# FLAGS NEEDED TO BUILD LIBFOSSIL
-FOSSIL_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare -pedantic -std=c99
+FOSSIL_CFLAGS = ${CFLAGS} -Wall -Wsign-compare -pedantic -std=c99
# On SOME Linux (e.g., Ubuntu 18.04.6), we have to include wchar curses from
# I/.../ncursesw, but linking to -lncursesw (w/ no special -L path) works fine.
# FLAGS NEEDED TO BUILD FNC
-FNC_CFLAGS = ${CFLAGS} -Wall -Werror -Wsign-compare -pedantic -std=c99 \
+FNC_CFLAGS = ${CFLAGS} -Wall -Wsign-compare -pedantic -std=c99 \
-I./lib -I./include -I/usr/include/ncursesw \
-D_XOPEN_SOURCE_EXTENDED -DVERSION=${VERSION}