Closed GoogleCodeExporter closed 9 years ago
forgot ky patch ;-)
[molli123@c64 src]$ diff Makefile.bak Makefile
6c6
< CFLAGS=-Wall -g -O2
---
> CFLAGS=-Wall -g -O2 -fPIC
39c39
< $(CC) -c $(TARGET)_wrap.c $(INC)
---
> $(CC) $(CFLAGS) -c $(TARGET)_wrap.c $(INC)
Original comment by molli12...@gmail.com
on 20 Nov 2011 at 10:40
Unfortunately, the -fPIC flag breaks the 32-bit build, so it can't be
hard-coded in.
I've updated the Makefile so that all CC lines now use CFLAGS, so for the time
being you should be able to fix this issue by running:
./configure CFLAGS="-fPIC"
make
Will add auto-detection of 64-bit architectures into the configure script so
that CFLAGS is automatically set appropriately.
Original comment by heffne...@gmail.com
on 21 Nov 2011 at 2:04
The configure script now identifies 64 bit architectures and adds -fPIC to
CFLAGS automatically.
Original comment by heffne...@gmail.com
on 21 Nov 2011 at 2:22
Original issue reported on code.google.com by
molli12...@gmail.com
on 20 Nov 2011 at 10:37