mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
parent
1bb691ff9f
commit
254d6e5cbf
@ -23,7 +23,7 @@ stdenv.mkDerivation {
|
||||
url = "https://github.com/niftools/nifskope/commit/30954e7f01f3d779a2a1fd37d363e8a6ad560bd3.patch";
|
||||
sha256 = "0d6xjj2mjjhdd7w1aig5f75jksjni16jyj0lxsz51pys6xqb6fpj";
|
||||
})
|
||||
];
|
||||
] ++ (stdenv.lib.optional stdenv.isAarch64 ./no-sse-on-arm.patch);
|
||||
|
||||
buildInputs = [ qtbase qttools libGLU.dev ];
|
||||
nativeBuildInputs = [ qmake wrapQtAppsHook ];
|
||||
|
19
pkgs/tools/graphics/nifskope/no-sse-on-arm.patch
Normal file
19
pkgs/tools/graphics/nifskope/no-sse-on-arm.patch
Normal file
@ -0,0 +1,19 @@
|
||||
diff --git a/NifSkope.pro b/NifSkope.pro
|
||||
index cc29fc5..b17bb6e 100644
|
||||
--- a/NifSkope.pro
|
||||
+++ b/NifSkope.pro
|
||||
@@ -428,13 +428,10 @@ win32 {
|
||||
# Optimization flags
|
||||
QMAKE_CXXFLAGS_DEBUG -= -O0 -g
|
||||
QMAKE_CXXFLAGS_DEBUG *= -Og -g3
|
||||
- QMAKE_CXXFLAGS_RELEASE *= -O3 -mfpmath=sse
|
||||
+ QMAKE_CXXFLAGS_RELEASE *= -O3
|
||||
|
||||
# C++11 Support
|
||||
QMAKE_CXXFLAGS_RELEASE *= -std=c++14
|
||||
-
|
||||
- # Extension flags
|
||||
- QMAKE_CXXFLAGS_RELEASE *= -msse2 -msse
|
||||
}
|
||||
|
||||
win32 {
|
Loading…
Reference in New Issue
Block a user