mirror of
https://github.com/opnsense/src.git
synced 2026-06-05 23:04:36 -04:00
stand: Confine BZIP defines to bzip files
Sponsored by: Netflix
This commit is contained in:
parent
eaf7aabddc
commit
59a4cfe03c
1 changed files with 5 additions and 4 deletions
|
|
@ -89,9 +89,10 @@ SRCS+= _setjmp.S
|
|||
# NOTE: to actually test this functionality after libbz2 upgrade compile
|
||||
# loader(8) with LOADER_BZIP2_SUPPORT defined
|
||||
.PATH: ${SRCTOP}/contrib/bzip2
|
||||
CFLAGS+= -DBZ_NO_STDIO -DBZ_NO_COMPRESS
|
||||
|
||||
SRCS+=bzlib.c crctable.c decompress.c huffman.c randtable.c
|
||||
.for i in bzlib.c crctable.c decompress.c huffman.c randtable.c
|
||||
CFLAGS.${i}+= -DBZ_NO_STDIO -DBZ_NO_COMPRESS
|
||||
SRCS+=${i}
|
||||
.endfor
|
||||
|
||||
# decompression functionality from zlib
|
||||
.PATH: ${SRCTOP}/sys/contrib/zlib
|
||||
|
|
@ -170,7 +171,7 @@ SRCS+=ffs_subr.c ffs_tables.c
|
|||
CFLAGS.dosfs.c+= -I${LDRSRC}
|
||||
CFLAGS.tftp.c+= -I${LDRSRC}
|
||||
CFLAGS.ufs.c+= -I${LDRSRC}
|
||||
CFLAGS.bzipfs.c+= -I${SRCTOP}/contrib/bzip2
|
||||
CFLAGS.bzipfs.c+= -I${SRCTOP}/contrib/bzip2 -DBZ_NO_STDIO -DBZ_NO_COMPRESS
|
||||
|
||||
# explicit_bzero and calculate_crc32c
|
||||
.PATH: ${SYSDIR}/libkern
|
||||
|
|
|
|||
Loading…
Reference in a new issue