From: Sebastian Pop Date: Wed, 2 Jan 2019 20:33:49 +0000 (-0600) Subject: remove unused compilation flag -DX86_64 X-Git-Tag: 1.9.9-b1~545 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a110b499fb41f33527de29cebf1826f1f41925;p=thirdparty%2Fzlib-ng.git remove unused compilation flag -DX86_64 --- diff --git a/CMakeLists.txt b/CMakeLists.txt index 99524b09..59d8185c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -483,7 +483,7 @@ set(ZLIB_ARCH_SRCS) set(ARCHDIR "arch/generic") if("${ARCH}" MATCHES "x86_64" OR "${ARCH}" MATCHES "AMD64") set(ARCHDIR "arch/x86") - add_definitions(-DX86_64 -DX86_NOCHECK_SSE2 -DUNALIGNED_OK) + add_definitions(-DX86_NOCHECK_SSE2 -DUNALIGNED_OK) add_feature_info(SSE2 1 "Use the SSE2 instruction set, using \"${SSE2FLAG}\"") elseif("${ARCH}" MATCHES "arm") set(ARCHDIR "arch/arm") diff --git a/configure b/configure index 646c162b..880bd1c2 100755 --- a/configure +++ b/configure @@ -1002,8 +1002,8 @@ case "${ARCH}" in x86_64) ARCHDIR=arch/x86 - CFLAGS="${CFLAGS} -DX86_64 -DX86_NOCHECK_SSE2 -DUNALIGNED_OK" - SFLAGS="${SFLAGS} -DX86_64 -DX86_NOCHECK_SSE2 -DUNALIGNED_OK" + CFLAGS="${CFLAGS} -DX86_NOCHECK_SSE2 -DUNALIGNED_OK" + SFLAGS="${SFLAGS} -DX86_NOCHECK_SSE2 -DUNALIGNED_OK" # Enable arch-specific optimizations? if test $without_optimizations -eq 0; then