poco/build
Fabrice Fontaine a91a5bd746
Add --ldflags configure option (#3545)
* updated README.md

* Create close-inactive-issues.yml

* Add --ldflags configure option

Add --ldflags configure option to allow the user to provide additional
flags to the linker such as -latomic. This will avoid the following
build failure with ActiveRecord on sparc v8:

/home/peko/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/sparc-buildroot-linux-uclibc/10.3.0/../../../../sparc-buildroot-linux-uclibc/bin/ld: /home/peko/autobuild/instance-1/output-1/build/poco-1.11.1/ActiveRecord/Compiler/obj/Linux/sparc/release_shared/Compiler.o: in function `Poco::RefCountedObject::release() const':
Compiler.cpp:(.text._ZNK4Poco16RefCountedObject7releaseEv[_ZNK4Poco16RefCountedObject7releaseEv]+0xc): undefined reference to `__atomic_fetch_sub_4'

Fixes:
 - http://autobuild.buildroot.org/results/b01/b014d6fcb8fdf28984d7ce606db2347b0265bc6a/build-end.log

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>

Co-authored-by: Günter Obiltschnig <guenter.obiltschnig@appinf.com>
Co-authored-by: Aleksandar Fabijanic <aleks-f@users.noreply.github.com>
2022-05-26 09:03:48 -05:00
..
config Dev/devel 1.12.0 (#3585) 2022-05-04 13:57:08 -05:00
exe Updated version 2019-07-08 10:45:33 +02:00
rules Add --ldflags configure option (#3545) 2022-05-26 09:03:48 -05:00
script Ignore tests from $POCO_BASE/cppignore.lnx 2019-12-19 10:02:52 +01:00