Skip to content

Commit

Permalink
Fixes #38 by using package level flags as opposed to specific includes
Browse files Browse the repository at this point in the history
  • Loading branch information
jamelt committed Jun 1, 2023
1 parent ccdbdfd commit 795a266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion unarrc/unarrc_cgo.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package unarrc

/*
#cgo !debug CFLAGS: -DNDEBUG
#cgo CFLAGS: -std=c99 -DHAVE_7Z -DHAVE_ZLIB -DHAVE_BZIP2 -D_7ZIP_PPMD_SUPPPORT
#cgo CFLAGS: -std=c99 -DHAVE_7Z -DHAVE_ZLIB -DHAVE_BZIP2 -D_7ZIP_PPMD_SUPPPORT -Wno-typedef-redefinition -Wno-deprecated-non-prototype
#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
*/
Expand Down

0 comments on commit 795a266

Please sign in to comment.