diff options
author | Xin LI <delphij@FreeBSD.org> | 2017-04-08 06:39:13 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2017-04-08 06:39:13 +0000 |
commit | 7250d89e5499092122715cd4d4d44520c1e6388f (patch) | |
tree | 686dac4a83ff6722a9b0e839fda0a116e62c1b77 /lib/libz | |
parent | 75580d5881fe31aae09ad7a2e187ef4126b88964 (diff) | |
download | src-7250d89e5499092122715cd4d4d44520c1e6388f.tar.gz src-7250d89e5499092122715cd4d4d44520c1e6388f.zip |
Notes
Diffstat (limited to 'lib/libz')
-rw-r--r-- | lib/libz/Makefile | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/lib/libz/Makefile b/lib/libz/Makefile index cb192e771765..7e1e9e85da77 100644 --- a/lib/libz/Makefile +++ b/lib/libz/Makefile @@ -40,19 +40,9 @@ SRCS+= uncompr.c SRCS+= zopen.c SRCS+= zutil.c -#.if ${MACHINE_ARCH} == "i386" && ${MACHINE_CPU:M*i686*} -#.PATH: ${ZLIBSRC}/contrib/asm686 -#SRCS+= match.S -#CFLAGS+= -DASMV -DNO_UNDERLINE -#ACFLAGS+= -Wa,--noexecstack -#.endif - -#.if ${MACHINE_ARCH} == "amd64" -#.PATH: ${ZLIBSRC}/contrib/gcc_gvmat64 -#SRCS+= gvmat64.S -#CFLAGS+= -DASMV -DNO_UNDERLINE -#ACFLAGS+= -Wa,--noexecstack -#.endif +.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "amd64 +CFLAGS+= -DUNALIGNED_OK +.endif VERSION_DEF= ${.CURDIR}/Versions.def SYMBOL_MAPS= ${.CURDIR}/Symbol.map |