opentrack: remove -march=native

This commit is contained in:
Thiago Kenji Okada 2022-11-24 14:56:55 +00:00
parent 20193b6d86
commit ea91c637fb
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@ stdenv.mkDerivation {
buildInputs = [ opencv4 ]; buildInputs = [ opencv4 ];
NIX_CFLAGS_COMPILE = "-Wall -Wextra -Wpedantic -ffast-math -march=native -O3"; NIX_CFLAGS_COMPILE = "-Wall -Wextra -Wpedantic -ffast-math -O3";
preInstall = '' preInstall = ''
mkdir -p $out/include/aruco mkdir -p $out/include/aruco

View file

@ -42,7 +42,7 @@ in
nativeBuildInputs = [cmake pkg-config ninja copyDesktopItems]; nativeBuildInputs = [cmake pkg-config ninja copyDesktopItems];
buildInputs = [qtbase qttools opencv4 procps eigen libXdmcp libevdev aruco]; buildInputs = [qtbase qttools opencv4 procps eigen libXdmcp libevdev aruco];
NIX_CFLAGS_COMPILE = "-Wall -Wextra -Wpedantic -ffast-math -march=native -O3"; NIX_CFLAGS_COMPILE = "-Wall -Wextra -Wpedantic -ffast-math -O3";
dontWrapQtApps = true; dontWrapQtApps = true;
cmakeFlags = [ cmakeFlags = [