diff options
author | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-03 14:14:59 +0000 |
---|---|---|
committer | levine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-11-03 14:14:59 +0000 |
commit | 4b436670b3abfe1aff371746a37814f86252592d (patch) | |
tree | 6b56cecfa264698f973ab0d2930b457b8c0a76a4 | |
parent | d2b814ec40da06354fefcf55182e34c2f7d68050 (diff) | |
download | ATCD-4b436670b3abfe1aff371746a37814f86252592d.tar.gz |
suppress -g when compiling ace/Timer_Hash.cpp and netsvcs/lib/Server_Logging_Handler.cpp
-rw-r--r-- | include/makeinclude/platform_linux.GNU | 6 | ||||
-rw-r--r-- | netsvcs/lib/Makefile | 14 |
2 files changed, 15 insertions, 5 deletions
diff --git a/include/makeinclude/platform_linux.GNU b/include/makeinclude/platform_linux.GNU index 5e5a6f6360b..83c2938bb59 100644 --- a/include/makeinclude/platform_linux.GNU +++ b/include/makeinclude/platform_linux.GNU @@ -14,7 +14,7 @@ DCFLAGS += -g DLD = $(CXX) LD = $(CXX) LIBS += -ldl -OCFLAGS += -O +OCFLAGS += -O3 PIC = -fPIC AR = ar ARFLAGS = ruv @@ -23,3 +23,7 @@ RANLIB = ranlib SOFLAGS = $(CPPFLAGS) -shared SOBUILD = $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.so $< PRELIB = @true + +#### as appears to have a string limit of about 4096 characters. +#### Suppressing the -g for a few files helps. +SUPPRESS_DASH_G = 1 diff --git a/netsvcs/lib/Makefile b/netsvcs/lib/Makefile index 545db7ff6ca..60bde3152cd 100644 --- a/netsvcs/lib/Makefile +++ b/netsvcs/lib/Makefile @@ -17,10 +17,6 @@ FILES = TS_Server_Handler \ Token_Handler \ Logging_Strategy -# Put these in when things are finally working! -# Server_Logging_Handler_T -# Log_Message_Receiver - DEFS = $(addsuffix .h,$(FILES)) LSRC = $(addsuffix .cpp,$(FILES)) @@ -40,6 +36,16 @@ include $(ACE_ROOT)/include/makeinclude/rules.lib.GNU include $(ACE_ROOT)/include/makeinclude/rules.local.GNU #---------------------------------------------------------------------------- +# Local targets +#---------------------------------------------------------------------------- + +ifeq ($(SUPPRESS_DASH_G),1) +#### Build this target without -g on some platforms. +$(VDIR)Server_Logging_Handler.o $(VSHDIR)Server_Logging_Handler.$(SOEXT): + $(COMPILE-NO_DASH_G.cc) -o $@ $< +endif # SUPPRESS_DASH_G + +#---------------------------------------------------------------------------- # Dependencies #---------------------------------------------------------------------------- # DO NOT DELETE THIS LINE -- g++dep uses it. |