mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-18 21:46:35 +01:00
gnu: tcc-musl: Update build flags for multiple architectures.
* gnu/packages/commencement.scm (tcc-musl)[arguments]: Adjust the custom 'build phase to provide necessary architecture specific flags. Change-Id: I1e506cceae26f8a24336d36f94211d9a8923c491
This commit is contained in:
parent
5b4d2b7c4e
commit
c7f5bb6143
1 changed files with 9 additions and 2 deletions
|
@ -1062,8 +1062,15 @@ (define tcc-musl
|
|||
"tcc"
|
||||
"-g"
|
||||
"-vvv"
|
||||
"-D" "REG_PC=0"
|
||||
"-D" "REG_S0=8"
|
||||
;; Some missed bits from musl in arch/$ARCH/bits/signal.h
|
||||
#$@(cond
|
||||
((target-riscv64?)
|
||||
#~("-D" "REG_PC=0"
|
||||
"-D" "REG_S0=8"))
|
||||
((target-x86-64?)
|
||||
#~("-D" "REG_EBP=6"
|
||||
"-D" "REG_EIP=14"))
|
||||
(#t #~()))
|
||||
"-D" "ONE_SOURCE=1"
|
||||
"-D" "TCC_VERSION=\"0.9.28rc\""
|
||||
"-D" "CONFIG_TCC_STATIC=1"
|
||||
|
|
Loading…
Reference in a new issue