diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-28 19:20:29 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1998-05-28 19:20:29 +0000 |
commit | c010b93a790cc571a5965e8a302a1f9e4d1e1d5b (patch) | |
tree | a33a0ebb6b40214c5564879dedcfad264a2d5b16 /include | |
parent | b457789805f68ca60734d660352147003c6e4fef (diff) | |
download | ATCD-c010b93a790cc571a5965e8a302a1f9e4d1e1d5b.tar.gz |
added LynxOS Version 3.0.0 cross-compile support. Disabled -Wall with LynxOS 3.0.0. Enabled optimization.
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_lynxos.GNU | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/include/makeinclude/platform_lynxos.GNU b/include/makeinclude/platform_lynxos.GNU index 7117e3d4657..711c1cde56f 100644 --- a/include/makeinclude/platform_lynxos.GNU +++ b/include/makeinclude/platform_lynxos.GNU @@ -2,6 +2,7 @@ # LynxOS with g++ debug = 1 +optimize = 1 shared_libs = static_libs = 1 @@ -12,18 +13,22 @@ ifneq ($(shell uname -s),LynxOS) #### Or, you can source the appropriate (for your shell) Lynx SETUP file #### before running "make". + ifeq (,$(VERSION)) + VERSION=2.5.0 + endif # VERSION + ifeq (,$(HOST_OS)) - HOST_OS = sunos + ifeq (2.5.0,$(VERSION)) + HOST_OS = sunos + else + HOST_OS = sunos-coff + endif # VERSION endif # HOST_OS ifeq (,$(LYNXTARGET)) LYNXTARGET = x86 endif # LYNXTARGET - ifeq (,$(VERSION)) - VERSION=2.5.0 - endif # VERSION - ifeq (,$(findstring /usr/lynx/$(VERSION)/$(LYNXTARGET),$(PATH))) PATH:=\ /usr/lynx/$(VERSION)/$(LYNXTARGET)/cdk/$(HOST_OS)-$(LYNXTARGET)/bin:/usr/lynx/$(VERSION)/$(LYNXTARGET)/cdk/$(HOST_OS)-$(LYNXTARGET)/usr/bin:$(PATH) @@ -32,7 +37,10 @@ endif # ! LynxOS CC = gcc CXX = g++ -CFLAGS += -mthreads -pipe -ansi -Wall -Wpointer-arith -Winline +CFLAGS += -mthreads -pipe -ansi -Wpointer-arith -Winline +ifeq (2.5.0,$(VERSION)) + CFLAGS += -Wall +endif # VERSION CCFLAGS += $(CFLAGS) -fno-implicit-templates DCFLAGS += -g DLD = $(CXX) |