~ruther/guix-local

003d53a23485ba6f5245f8a09f274227573fd9a7 — Andreas Enge 1 year, 3 months ago 186a971
gnu: ansel: Disable -march=native.

This was enabled through a check for BINARY_PACKAGE_BUILD in
cmake/march-mtune.cmake.

* gnu/packages/photo.scm (ansel)[arguments]<#:configure-flags>:
Add -DBINARY_PACKAGE_BUILD=ON.

Fixes: guix/guix#1731
Change-Id: I30cc346431adfdf7ec60f9a78be861e21c7e462d
1 files changed, 3 insertions(+), 1 deletions(-)

M gnu/packages/photo.scm
M gnu/packages/photo.scm => gnu/packages/photo.scm +3 -1
@@ 678,7 678,9 @@ and enhance them.")
      (arguments
       (list
        #:tests? #f ;Tests are only examples
        #:configure-flags #~(list "-DUSE_BUNDLED_LIBRAW=OFF")
        #:configure-flags
          #~(list "-DUSE_BUNDLED_LIBRAW=OFF"
                  "-DBINARY_PACKAGE_BUILD=ON")
        #:build-type "Release")) ;Rawspeed fails on default 'RelWithDebInfo'
      (native-inputs
       (list cmocka