diff options
author | mbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-06-03 21:43:55 +0000 |
---|---|---|
committer | mbrudka <mbrudka@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-06-03 21:43:55 +0000 |
commit | da43efcaa690dc555896a0930a1f0abfcb582cd9 (patch) | |
tree | 7dae131d03c482142a0ad9f24cf320d00c1e510b /include/makeinclude | |
parent | 1d2bf66b2366c803ea90f48448ca81ca7484d6e7 (diff) | |
download | ATCD-da43efcaa690dc555896a0930a1f0abfcb582cd9.tar.gz |
ChangeLogTag: Thu Jun 3 23:33:23 2004 Marek Brudka <mbrudka@elka.pw.edu.pl>
Diffstat (limited to 'include/makeinclude')
-rw-r--r-- | include/makeinclude/platform_qnx_rtp_gcc.GNU | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/include/makeinclude/platform_qnx_rtp_gcc.GNU b/include/makeinclude/platform_qnx_rtp_gcc.GNU index 1413ddda52d..7c13b512c11 100644 --- a/include/makeinclude/platform_qnx_rtp_gcc.GNU +++ b/include/makeinclude/platform_qnx_rtp_gcc.GNU @@ -6,7 +6,7 @@ nto_version := $(shell uname -a | awk '{ gsub("\\.","", $$3 ); print $$3;}') inline = 1 debug ?= 1 -optimize ?= 1 +optimize ?= 0 exceptions ?= 1 threads ?= 1 ifeq ($(exceptions),1) @@ -25,12 +25,11 @@ endif # inline ifeq ($(debug),1) DCFLAGS += -gdwarf-2 -endif #debug - -ifeq ($(optimize),1) +else # debug excludes optimize due to g++ internal compiler error + ifeq ($(optimize),1) OCFLAGS += -O3 -endif #optimize - + endif #optimize +endif #debug CC = gcc CXX = g++ @@ -49,7 +48,7 @@ SOFLAGS += $(CPPFLAGS) -shared SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< PRELIB = @true -# Test for template instantiation, add to SOFLAGS if SONAME set, +# Test for template instantiation, add to SOFLAGS if SONAME set, # add -E to LDFLAGS if using GNU ld # include $(ACE_ROOT)/include/makeinclude/platform_g++_common.GNU |