Skip to content

Commit

Permalink
Fix warnings, issue #38
Browse files Browse the repository at this point in the history
  • Loading branch information
gen2brain committed Oct 16, 2023
1 parent 9e0c1b3 commit 3daefaf
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion unarrc/unarrc_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@ package unarrc

/*
#cgo !debug CFLAGS: -DNDEBUG
#cgo CFLAGS: -std=c99 -DHAVE_7Z -DHAVE_ZLIB -DHAVE_BZIP2 -D_7ZIP_PPMD_SUPPPORT -Wno-typedef-redefinition -Wno-deprecated-non-prototype
#cgo CFLAGS: -std=c99 -DHAVE_7Z -DHAVE_ZLIB -DHAVE_BZIP2 -D_7ZIP_PPMD_SUPPPORT
#cgo CFLAGS: -Iexternal/lzma -Iexternal/zlib -Iexternal/bzip2 -Iexternal/unarr -fomit-frame-pointer
#cgo amd64 arm64 arm64be loong64 mips64 mips64le ppc64 ppc64le riscv64 s390x sparc64 CFLAGS: -D_FILE_OFFSET_BITS=64
#if defined(__clang__) && __clang_major__ >= 16
#cgo CFLAGS: -Wno-typedef-redefinition -Wno-deprecated-non-prototype
#endif
*/
import "C"

0 comments on commit 3daefaf

Please sign in to comment.