Remove currently unused flags 65/308165/1 accepted/tizen/unified/20240320.110705 accepted/tizen/unified/20240320.151915
authorJiyong <jiyong.min@samsung.com>
Tue, 19 Mar 2024 02:32:36 +0000 (11:32 +0900)
committerJiyong <jiyong.min@samsung.com>
Tue, 19 Mar 2024 02:38:54 +0000 (11:38 +0900)
Change-Id: I896f178164a277f930a60da1cf5259c5023cfc69

packaging/libjxl.spec

index c1e48c6..8cf89ce 100644 (file)
@@ -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 \