Skip to content

Commit f977492

Browse files
committed
don't use -Werror on openssh or libressl (sad face)
1 parent 165ca9e commit f977492

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,8 @@ LIBSSH_CFLAGS= $(PCSC_CFLAGS) \
271271
$(CONFIG_CFLAGS) \
272272
-O2 -g -D_GNU_SOURCE \
273273
-I$(OPENSSH) \
274-
-DPIVY_VERSION='"$(VERSION)"'
274+
-DPIVY_VERSION='"$(VERSION)"' \
275+
-Wno-error
275276
LIBSSH_LDFLAGS= $(SYSTEM_LDFLAGS) \
276277
$(CRYPTO_LDFLAGS)
277278
LIBSSH_HEADERS=
@@ -760,7 +761,7 @@ OPENSSH_CONFIG_ARGS+= \
760761

761762
.libressl.configure: .libressl.patch
762763
cd libressl && \
763-
CFLAGS="-fPIC $(SYSTEM_CFLAGS)" LDFLAGS="$(SYSTEM_LDFLAGS)" \
764+
CFLAGS="-fPIC $(SYSTEM_CFLAGS) -Wno-error" LDFLAGS="$(SYSTEM_LDFLAGS)" \
764765
./configure $(LIBRESSL_CONFIG_ARGS) && \
765766
touch $(CURDIR)/$@
766767

0 commit comments

Comments
 (0)