Skip to content

Commit

Permalink
Merge pull request #39 from enterprizesoftware/master
Browse files Browse the repository at this point in the history
Fixes #38 - added CGO_CFLAGS to specific targets that emit w…
  • Loading branch information
gen2brain authored Jun 2, 2023
2 parents c29ad64 + 795a266 commit 080a66a
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 080a66a

Please sign in to comment.