On 5/12/25 10:55, Dirk Eddelbuettel wrote:
On 12 May 2025 at 09:43, Charles Plessy wrote:
|   - A src/Makevars file containing +CXXFLAGS = -fsigned-char

a) maybe use += instead of = ?
b) maybe use PKG_CXXFLAGS instead as CXXFLAGS get overridden ?

b) should work but it's late-ish on a sunday eve here ...

First step is to get it to work via 'R CMD INSTALL ...' and the Debian
wrapper come thereafter.

Thanks a lot Dirk for putting me in the right direction!

So I persevered a bit more with src/Makevars and ran R CMD INSTALL from outside Debian's build system first, which leads me to figure out that src/Makevars was unconditionally overwritten by the ./configure script. Patching this file allowed me to inject -fsigned-char in the build.

I will upload this soon and hope it fixes the issue on arm64 and the like.

Have nice day!

Charles

--
Charles Plessy - - ~ ~ ~ ~ ~ ~~~~ ~ ~ ~ ~ ~ - - charles.ple...@oist.jp
Okinawa  Institute  of  Science  and  Technology  Graduate  University
Senior staff scientist ~~ Luscombe Unit ~~ https://groups.oist.jp/grsu
Toots from work - ~~ ~~~~ ~~ - https://fediscience.org/@charles_plessy

Reply via email to