]> git.pld-linux.org Git - packages/rockchip-mpp.git/commitdiff
- added no-march patch (avoid esp. -march=i686 on x32) master auto/th/rockchip-mpp-20171218-1
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Apr 2019 17:58:06 +0000 (19:58 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Thu, 25 Apr 2019 17:58:06 +0000 (19:58 +0200)
rockchip-mpp-no-march.patch [new file with mode: 0644]
rockchip-mpp.spec

diff --git a/rockchip-mpp-no-march.patch b/rockchip-mpp-no-march.patch
new file mode 100644 (file)
index 0000000..f6eef8e
--- /dev/null
@@ -0,0 +1,13 @@
+--- mpp-release_20171218/CMakeLists.txt.orig   2017-12-19 12:46:36.000000000 +0100
++++ mpp-release_20171218/CMakeLists.txt        2019-04-25 19:46:31.935110835 +0200
+@@ -192,10 +192,6 @@
+         elseif(ARMEABI_V7A_HARDFP)
+             add_definitions(-march=armv7-a -mfloat-abi=hard -mfpu=neon)
+         endif()
+-    else()
+-        if(X86 AND NOT X64)
+-            add_definitions(-march=i686)
+-        endif()
+     endif()
+     if($(CMAKE_BUILD_TYPE) MATCHES "Release")
index f19dfb6e7bc38d7f6c568f32b28baff06d48bf63..a445d65f5122c5c9633b43f24546356d0c3cd774 100644 (file)
@@ -12,6 +12,7 @@ Group:                Libraries
 #Source0Download: https://github.com/rockchip-linux/mpp/releases
 Source0:       https://github.com/rockchip-linux/mpp/archive/release_%{version}/mpp-%{version}.tar.gz
 # Source0-md5: 6c2c941ebc506e6a3bd7d911dd8dc184
+Patch0:                %{name}-no-march.patch
 URL:           http://opensource.rock-chips.com/wiki_Mpp
 BuildRequires: cmake >= 2.8.8
 BuildRequires: libstdc++-devel
@@ -50,6 +51,7 @@ Statyczne biblioteki Rockchip MPP.
 
 %prep
 %setup -q -n mpp-release_%{version}
+%patch0 -p1
 
 %build
 # "build" directory is already occupied, so use "builddir"
This page took 0.111835 seconds and 4 git commands to generate.