MWEB: Fixing gitian build

pull/816/head
David Burkett 3 years ago committed by Loshan T
parent f7fa5498dd
commit 13b2abb604

@ -445,6 +445,7 @@ if test "x$CXXFLAGS_overridden" = "xno"; then
AX_CHECK_COMPILE_FLAG([-Wdeprecated-register],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-deprecated-register"],,[[$CXXFLAG_WERROR]])
AX_CHECK_COMPILE_FLAG([-Wimplicit-fallthrough],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-implicit-fallthrough"],,[[$CXXFLAG_WERROR]])
AX_CHECK_COMPILE_FLAG([-Wdeprecated-copy],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-deprecated-copy"],,[[$CXXFLAG_WERROR]])
AX_CHECK_COMPILE_FLAG([-Wpsabi],[NOWARN_CXXFLAGS="$NOWARN_CXXFLAGS -Wno-psabi"],,[[$CXXFLAG_WERROR]])
fi
dnl Don't allow extended (non-ASCII) symbols in identifiers. This is easier for code review.

@ -9,13 +9,13 @@ $(package)_config_opts_x86_64_mingw32=-DCMAKE_TOOLCHAIN_FILE=$(BASEDIR)/cmake/mi
endef
define $(package)_config_cmds
cmake -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true $($(package)_config_opts) .
$($(package)_cmake) -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=true
endef
define $(package)_build_cmds
$(MAKE) && \
mkdir -p $($(package)_staging_dir)$(host_prefix)/include && \
cp -a include/* $($(package)_staging_dir)$(host_prefix)/include/ && \
mkdir -p $($(package)_staging_dir)$(host_prefix)/lib && \
cp -a libfmt.a $($(package)_staging_dir)$(host_prefix)/lib/
$(MAKE)
endef
define $(package)_stage_cmds
$(MAKE) DESTDIR=$($(package)_staging_dir) install
endef
Loading…
Cancel
Save