[Ace] Support -fPIC compiler flag on Linux (#22864)

* support of -fPIC flag in linux compilation

* Modify versions

* Make -fPIC mandatory for linux builds

* Update ace.json

* Change vcpkg version

* Change to versions

* Update ace.json

Co-authored-by: bisaillonp <Pierre.Bisaillon@ixiasoft.com>
This commit is contained in:
Pierre Bisaillon 2022-02-08 00:46:43 -05:00 committed by GitHub
parent 6427bc63ce
commit 5fe063fda0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 8 additions and 3 deletions

View File

@ -105,7 +105,7 @@ if(VCPKG_TARGET_IS_WINDOWS)
elseif(VCPKG_TARGET_IS_LINUX)
set(SOLUTION_TYPE gnuace)
set(config_h_contents "#include \"ace/config-linux.h\"\n")
file(WRITE "${ACE_ROOT}/include/makeinclude/platform_macros.GNU" "include $(ACE_ROOT)/include/makeinclude/platform_linux.GNU")
file(WRITE "${ACE_ROOT}/include/makeinclude/platform_macros.GNU" "CCFLAGS += -fPIC\ninclude $(ACE_ROOT)/include/makeinclude/platform_linux.GNU")
elseif(VCPKG_TARGET_IS_OSX)
set(SOLUTION_TYPE gnuace)
set(config_h_contents "#include \"ace/config-macosx.h\"\n")

View File

@ -1,7 +1,7 @@
{
"name": "ace",
"version": "7.0.6",
"port-version": 2,
"port-version": 3,
"maintainers": "Johnny Willemsen <jwillemsen@remedy.nl>",
"description": "The ADAPTIVE Communication Environment",
"homepage": "https://www.dre.vanderbilt.edu/~schmidt/ACE.html",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "d20fc0a9eac1744ff9fb5c5427eade58234e35c9",
"version": "7.0.6",
"port-version": 3
},
{
"git-tree": "0ad9c09c1663f5264f5bf5dcbe1d402618973144",
"version": "7.0.6",

View File

@ -18,7 +18,7 @@
},
"ace": {
"baseline": "7.0.6",
"port-version": 2
"port-version": 3
},
"activemq-cpp": {
"baseline": "3.9.5",