gnu: libantlr3c: Fix build on riscv64.

* gnu/packages/java.scm (libantlr3c)[arguments]#<configure-flags>:  When
target riscv64, Add --disable-abiflags.

Change-Id: I9e53575134630015e332e27a0286c1f58f072804
This commit is contained in:
Zheng Junjie 2025-01-26 12:17:29 +08:00
parent 5133fe25d4
commit 4d0f5e1345
No known key found for this signature in database
GPG key ID: 3B5AA993E1A2DFF0

View file

@ -2190,8 +2190,11 @@ build process and its dependencies, whereas Make uses Makefile format.")
`(#:configure-flags (list "--enable-debuginfo"
"--disable-static"
,@(if (target-64bit?)
`("--enable-64bit")
'()))))
`("--enable-64bit")
'())
,@(if (target-riscv64?)
`("--disable-abiflags")
'()))))
(synopsis "ANTLR C Library")
(description "LIBANTLR3C provides run-time C libraries for ANTLR3 (ANother
Tool for Language Recognition v3).")