Since the typical .pro file is not available in the bitcoin source, i tried ading this line to the autogen.sh and config, ac on seperate builds and neither one worked.
I would welcome any suggestions that would piont me to a file to add this line to to make it work.
-no-pie is a linker flag, so you can simply add it to the LDFLAGS while configuring:
Try this:
LDFLAGS=-no-pie ./configure --with-incompatible-bdb
The configure output should saw the -no-pie flag at the LDFLAGS line:
with wallet = yes
with gui / qt = yes
qt version = 5
[...]
CC = /usr/bin/ccache gcc
CFLAGS = -g -O2
CPPFLAGS = -DHAVE_BUILD_INFO -D__STDC_FORMAT_MACROS
CXX = /usr/bin/ccache g++ -std=c++11
CXXFLAGS = -g -O2 -Wall -Wextra -Wformat -Wvla -Wformat-security -Wno-unused-parameter -Wno-implicit-fallthrough
LDFLAGS = -no-pie
ARFLAGS = cr
Then, build normally using make.
Thanks
i will try that right now
* that totally worked. thanks again.