Skip to content

Commit

Permalink
zip/unzip: gcc14 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
mabrand committed May 8, 2024
1 parent ca74bd0 commit ead4763
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/unzip.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ define $(PKG)_BUILD
CC=$(TARGET)-gcc \
RC=$(TARGET)-windres \
USEZLIB=1 \
CC_CPU_OPT='-mtune=generic'
CC_CPU_OPT='-mtune=generic' \
LOCAL_UNZIP='-Wno-incompatible-pointer-types'

$(INSTALL) '$(1)'/*.exe '$(PREFIX)'/$(TARGET)/bin
endef
3 changes: 2 additions & 1 deletion src/zip.mk
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ define $(PKG)_BUILD
$(MAKE) -C '$(1)' -j '$(JOBS)' -f win32/makefile.gcc \
CC=$(TARGET)-gcc \
RC=$(TARGET)-windres \
USEZLIB=1
USEZLIB=1 \
LOCAL_ZIP='-Wno-incompatible-pointer-types'

$(INSTALL) '$(1)'/*.exe '$(PREFIX)'/$(TARGET)/bin
endef

0 comments on commit ead4763

Please sign in to comment.