Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Generate static library (#17) and fix compile definitions #437

Merged

Conversation

bourtemb
Copy link
Member

Compile with -D_REENTRANT to ensure compatibility with old compilers
_FORTIFY_SOURCE=3 => _FORTIFY_SOURCE=2
Compile Tango library Linux release version with -D_TANGO_LIB
Compile CORBA stubs with -DOMNI_UNLOADABLE_STUBS

Compile with -D_REENTRANT to ensure compatibility with old compilers
_FORTIFY_SOURCE=3 => _FORTIFY_SOURCE=2
Compile Tango library Linux release version with -D_TANGO_LIB
Compile CORBA stubs with -DOMNI_UNLOADABLE_STUBS
@bourtemb bourtemb force-pushed the fix-compilation-defs-linux branch from 8ffc161 to 9d09ee1 Compare May 14, 2018 16:31
@bourtemb bourtemb requested a review from Ingvord May 15, 2018 08:31
@bourtemb bourtemb merged commit af72afb into tango-controls:tango-9-lts May 15, 2018
bourtemb added a commit that referenced this pull request May 15, 2018
bourtemb added a commit to bourtemb/cppTango that referenced this pull request Jul 17, 2018
…ls#17) (tango-controls#437)

Compile with -D_REENTRANT to ensure compatibility with old compilers
_FORTIFY_SOURCE=3 => _FORTIFY_SOURCE=2
Compile Tango library Linux release version with -D_TANGO_LIB
Compile CORBA stubs with -DOMNI_UNLOADABLE_STUBS
bourtemb added a commit to bourtemb/cppTango that referenced this pull request Jul 17, 2018
t-b added a commit to t-b/cppTango that referenced this pull request Aug 28, 2020
In af72afb (Generate static library and fix compilation definitions
(tango-controls#17) (tango-controls#437), 2018-05-15) support was added for building a static
library next to the dynamic one.

As most users want to have only either library we use the newly
introduced option BUILD_SHARED_LIBS to build either one. This also
solves issues when cross-compiling where you might not have shared
libraries for the target architecture.
t-b added a commit to t-b/cppTango that referenced this pull request Sep 1, 2020
In af72afb (Generate static library and fix compilation definitions
(tango-controls#17) (tango-controls#437), 2018-05-15) support was added for building a static
library next to the dynamic one.

As most users want to have only either library we use the newly
introduced option BUILD_SHARED_LIBS to build either one. This also
solves issues when cross-compiling where you might not have shared
libraries for the target architecture.
t-b added a commit to t-b/cppTango that referenced this pull request Sep 10, 2020
In af72afb (Generate static library and fix compilation definitions
(tango-controls#17) (tango-controls#437), 2018-05-15) support was added for building a static
library next to the dynamic one.

As most users want to have only either library we use the newly
introduced option BUILD_SHARED_LIBS to build either one. This also
solves issues when cross-compiling where you might not have shared
libraries for the target architecture.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants