gnu: hyperrogue: Fix FTBFS with GCC7.

* gnu/packages/games.scm (hyperrogue)[arguments]: Remove redundant
  #:make-flags.  Preserve original CPATH when adding SDL path.
This commit is contained in:
Marius Bakke 2018-10-07 18:31:26 +02:00
parent 43d4c22981
commit b6c2805c0b
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -3635,7 +3635,8 @@ (define-public hyperrogue
(add-after 'set-paths 'set-sdl-paths
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CPATH"
(string-append (assoc-ref inputs "sdl-union")
(string-append (getenv "CPATH") ":"
(assoc-ref inputs "sdl-union")
"/include/SDL"))))
(replace 'configure
(lambda* (#:key inputs outputs #:allow-other-keys)