mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-21 09:40:28 +02: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:
committed by
Janneke Nieuwenhuizen
parent
37461278d1
commit
ec0a298de4
@@ -1087,8 +1087,15 @@ MesCC-Tools), and finally M2-Planet.")
|
||||
"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"
|
||||
|
||||
Reference in New Issue
Block a user