summaryrefslogtreecommitdiff
path: root/ACE/include/makeinclude/platform_lynxos.GNU
diff options
context:
space:
mode:
authorAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
committerAdam Mitz <mitza@ociweb.com>2015-11-06 17:07:11 -0600
commitac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b (patch)
tree0e70d1f51c39e688a05a6cdc2af58408222e4a0d /ACE/include/makeinclude/platform_lynxos.GNU
parent5272b5b81f92c298cb998b5bb0b0dbca3e7f29fe (diff)
downloadATCD-ac5e1702c9f9bee9f1f7bfce8c1a6f3847ea6b4b.tar.gz
Merged branch ace-face-safety (FACE Safety Profile import from OCITAO).
Diffstat (limited to 'ACE/include/makeinclude/platform_lynxos.GNU')
-rw-r--r--ACE/include/makeinclude/platform_lynxos.GNU11
1 files changed, 10 insertions, 1 deletions
diff --git a/ACE/include/makeinclude/platform_lynxos.GNU b/ACE/include/makeinclude/platform_lynxos.GNU
index 5ca84e934c9..21f70b32e17 100644
--- a/ACE/include/makeinclude/platform_lynxos.GNU
+++ b/ACE/include/makeinclude/platform_lynxos.GNU
@@ -3,6 +3,10 @@
# LynxOS with g++. Defaults to LynxOS Version 4.0.0. For Version 4.2.0,
# for example, add "VERSION=4.2.0" to your make invocation.
+ifeq ($(static_libs_only),1)
+ shared_libs = 0
+endif
+
ifeq ($(shell uname -s),LynxOS)
export VERSION=$(shell uname -r)
@@ -13,7 +17,8 @@ else
CROSS-COMPILE = 1
ifeq (,$(VERSION))
- export VERSION = 4.0.0
+# export VERSION = 4.0.0
+ export VERSION = 2.3.0
endif # VERSION
endif # ! LynxOS
@@ -41,6 +46,8 @@ ifeq ($(shared_libs),1)
ifeq ($(CROSS-COMPILE),1)
LDFLAGS += -Wl,-rpath-link,$(ACE_ROOT)/lib
endif
+else
+ LIBS += -lnetinet
endif
CC = gcc
@@ -82,6 +89,8 @@ PLATFORM_TK_LDFLAGS=$(PLATFORM_X11_LDFLAGS)
#
include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU
+CCFLAGS += -fpermissive -fno-strict-aliasing
+
# To save much disk space, strip all executables. Comment the
# following line out if you want to debug. Or, add "POSTLINK="
# to your make invocation.