mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-26 20:49:29 -05:00
gnu: arcan: Fix build.
* gnu/packages/arcan.scm (arcan, arcan-sdl)[arguments]: Pass '-fcommon' to CFLAGS.
This commit is contained in:
parent
b3ee04cde7
commit
c9f7770eee
1 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
;;; GNU Guix --- Functional package management for GNU
|
||||
;;; Copyright © 2019 L p R n d n <guix@lprndn.info>
|
||||
;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
|
||||
;;;
|
||||
;;; This file is part of GNU Guix.
|
||||
;;;
|
||||
|
@ -65,7 +66,8 @@ (define-public arcan
|
|||
(base32 "1pd0avlzc2rig1hd37zbhc7r2s6fjzdhshfg9l9cfzibl7caclyw"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
`(#:configure-flags '("-DVIDEO_PLATFORM=egl-dri" "-DBUILTIN_LUA=off"
|
||||
`(#:configure-flags '("-DCMAKE_C_FLAGS=-fcommon"
|
||||
"-DVIDEO_PLATFORM=egl-dri" "-DBUILTIN_LUA=off"
|
||||
"-DSTATIC_OPENAL=off""-DENABLE_LWA=on"
|
||||
"-DSTATIC_SQLITE3=off" "-DSTATIC_FREETYPE=off"
|
||||
"-DSHMIF_TUI_ACCEL=on")
|
||||
|
@ -176,7 +178,8 @@ (define-public arcan-sdl
|
|||
`(,@(ensure-keyword-arguments
|
||||
(package-arguments arcan)
|
||||
'(#:configure-flags
|
||||
'("-DVIDEO_PLATFORM=sdl" "-DBUILTIN_LUA=off"
|
||||
'("-DCMAKE_C_FLAGS=-fcommon"
|
||||
"-DVIDEO_PLATFORM=sdl" "-DBUILTIN_LUA=off"
|
||||
"-DSTATIC_OPENAL=off" "-DDISABLE_JIT=off"
|
||||
"-DENABLE_LWA=on" "-DSTATIC_SQLITE3=off"
|
||||
"-DSTATIC_FREETYPE=off" "-DSHMIF_TUI_ACCEL=on")))))
|
||||
|
|
Loading…
Reference in a new issue