Skip to content

Commit

Permalink
don't use -Werror on openssh or libressl (sad face)
Browse files Browse the repository at this point in the history
  • Loading branch information
arekinath committed Jan 30, 2024
1 parent 165ca9e commit f977492
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,8 @@ LIBSSH_CFLAGS= $(PCSC_CFLAGS) \
$(CONFIG_CFLAGS) \
-O2 -g -D_GNU_SOURCE \
-I$(OPENSSH) \
-DPIVY_VERSION='"$(VERSION)"'
-DPIVY_VERSION='"$(VERSION)"' \
-Wno-error
LIBSSH_LDFLAGS= $(SYSTEM_LDFLAGS) \
$(CRYPTO_LDFLAGS)
LIBSSH_HEADERS=
Expand Down Expand Up @@ -760,7 +761,7 @@ OPENSSH_CONFIG_ARGS+= \

.libressl.configure: .libressl.patch
cd libressl && \
CFLAGS="-fPIC $(SYSTEM_CFLAGS)" LDFLAGS="$(SYSTEM_LDFLAGS)" \
CFLAGS="-fPIC $(SYSTEM_CFLAGS) -Wno-error" LDFLAGS="$(SYSTEM_LDFLAGS)" \
./configure $(LIBRESSL_CONFIG_ARGS) && \
touch $(CURDIR)/$@

Expand Down

0 comments on commit f977492

Please sign in to comment.