mirror of https://git.wownero.com/dsc/mxe.git
Merge pull request #1841 from tonytheodore/doc-opts-toolchain
binutils gcc: use MXE_DISABLE_DOC_OPTS
This commit is contained in:
commit
1e7e515d2f
|
@ -19,7 +19,8 @@ define $(PKG)_UPDATE
|
|||
endef
|
||||
|
||||
define $(PKG)_BUILD
|
||||
cd '$(1)' && ./configure \
|
||||
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
|
||||
$(MXE_DISABLE_DOC_OPTS) \
|
||||
--target='$(TARGET)' \
|
||||
--build='$(BUILD)' \
|
||||
--prefix='$(PREFIX)' \
|
||||
|
@ -31,8 +32,8 @@ define $(PKG)_BUILD
|
|||
--disable-nls \
|
||||
--disable-shared \
|
||||
--disable-werror
|
||||
$(MAKE) -C '$(1)' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(1)' -j 1 $(INSTALL_STRIP_TOOLCHAIN)
|
||||
$(MAKE) -C '$(BUILD_DIR)' -j '$(JOBS)'
|
||||
$(MAKE) -C '$(BUILD_DIR)' -j 1 $(INSTALL_STRIP_TOOLCHAIN)
|
||||
|
||||
rm -f $(addprefix $(PREFIX)/$(TARGET)/bin/, ar as dlltool ld ld.bfd nm objcopy objdump ranlib strip)
|
||||
endef
|
||||
|
|
|
@ -22,6 +22,7 @@ endef
|
|||
define $(PKG)_CONFIGURE
|
||||
# configure gcc
|
||||
cd '$(BUILD_DIR)' && '$(SOURCE_DIR)/configure' \
|
||||
$(MXE_DISABLE_DOC_OPTS) \
|
||||
--target='$(TARGET)' \
|
||||
--build='$(BUILD)' \
|
||||
--prefix='$(PREFIX)' \
|
||||
|
|
Loading…
Reference in New Issue