gnu: ToME4: Fix FTBFS with GCC 7.

* gnu/packages/games.scm (tome4)[arguments]: Preserve CPATH in 'set-sdl-paths'
phase..
This commit is contained in:
Marius Bakke 2019-07-10 20:23:46 +02:00
parent c1f4073ff5
commit fa0d5854ef
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -4981,7 +4981,8 @@ (define-public tome4
(lambda* (#:key inputs #:allow-other-keys)
(setenv "CPATH"
(string-append (assoc-ref inputs "sdl-union")
"/include/SDL2"))
"/include/SDL2:"
(getenv "CPATH")))
#t))
(delete 'check)
;; premake doesn't provide install target