Package does not compile for 64-bit

But compiles well for 32-bit. The following message displayed:

/bin/ld: signal_object.o: relocation R_X86_64_32 against `a local symbol’ can not be used when making a shared object; recompile with -fPIC

What to do now?

Recompile with -fPIC.

It’s just that, add “-fPIC” to CFLAGS. Your x86-64 package will build and your x86 package will be better.

https://build.opensuse.org/package/show?package=hbasic&project=home%3AAnsus

Just to give you an idea, what it’s all about.

P.S.
The software in questions is unmaintained for 3 years now.

It’s just that, add “-fPIC” to CFLAGS.

How to add this to CFLAGS?

in the Makefile maybe …