gnutls: build out-of-source

This commit is contained in:
Tony Theodore 2020-06-05 13:06:24 +10:00
parent f598bab969
commit 246454cc2d
1 changed files with 4 additions and 2 deletions

View File

@ -19,7 +19,8 @@ define $(PKG)_UPDATE
endef
define $(PKG)_BUILD
cd '$(1)' && autoreconf -fi && ./configure \
cd '$(SOURCE_DIR)' && autoreconf -fi
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)'/configure \
$(MXE_CONFIGURE_OPTS) \
--disable-rpath \
--disable-nls \
@ -30,7 +31,8 @@ define $(PKG)_BUILD
--without-p11-kit \
--disable-silent-rules \
CFLAGS='-D_WIN32_WINNT=0x0600'
$(MAKE) -C '$(1)' -j '$(JOBS)' install
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
$(MAKE) -C '$(BUILD_DIR)' -j 1 install
'$(TARGET)-gcc' \
-W -Wall -Werror -ansi -pedantic \