From 1d2c5a00c27b5f8aeaaead5eda97bf0dbc597644 Mon Sep 17 00:00:00 2001 From: Jiyong Date: Tue, 19 Mar 2024 11:32:36 +0900 Subject: [PATCH] Remove currently unused flags Change-Id: I896f178164a277f930a60da1cf5259c5023cfc69 --- packaging/libjxl.spec | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) diff --git a/packaging/libjxl.spec b/packaging/libjxl.spec index c1e48c6..8cf89ce 100644 --- a/packaging/libjxl.spec +++ b/packaging/libjxl.spec @@ -4,7 +4,7 @@ Name: libjxl Summary: JPEG XL encoder and decoder library Version: 0.9.0 -Release: 0 +Release: 1 Group: Multimedia/Libraries URL: https://github.com/libjxl/libjxl/ License: BSD-3-Clause and Apache-2.0 @@ -43,29 +43,6 @@ Description: JPEG XL encoder and decoder library (tools) %setup -q cp %{SOURCE1} . -# add defines for highway(libhwy) in libjxl -%ifarch armv7l -CFLAGS+=" -D__arm__" -CXXFLAGS+=" -D__arm__" -%endif -%ifarch aarch64 -CFLAGS+=" -D__aarch64__" -CXXFLAGS+=" -D__aarch64__" -%endif -%ifarch %{ix86} -CFLAGS+=" -D__i386__" -CXXFLAGS+=" -D__i386__" -%endif -%ifarch x86_64 -CFLAGS+=" -D__x86_64__" -CXXFLAGS+=" -D__x86_64__" -%endif - -# add S/W coder define for highway(libhwy) -# if H/W accelerator can be used, below options should be removed -CFLAGS+=" -DHWY_COMPILE_ONLY_SCALAR" -CXXFLAGS+=" -DHWY_COMPILE_ONLY_SCALAR" - %build %cmake . -DCMAKE_BUILD_TYPE=Release \ -DBUILD_TESTING=OFF \ -- 2.7.4