gnu: hyperrogue: Fix FTBFS with GCC7.

* gnu/packages/games.scm (hyperrogue)[arguments]: Remove redundant
  #:make-flags.  Preserve original CPATH when adding SDL path.
master
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
1 changed files with 2 additions and 1 deletions

View File

@ -3635,7 +3635,8 @@ throwing people around in pseudo-randomly generated buildings.")
(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)