diff options
author | olli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-02-27 08:51:50 +0000 |
---|---|---|
committer | olli <olli@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2011-02-27 08:51:50 +0000 |
commit | 93f583faa01f124396719da290c5c03671d0eeec (patch) | |
tree | 7168fd492f341460bbb6c328edfd53819a79c7a9 /ACE/include/makeinclude/platform_linux.GNU | |
parent | bed27e38370d4c6a8d3be67e0b1ccf5f6e52da6d (diff) | |
download | ATCD-93f583faa01f124396719da290c5c03671d0eeec.tar.gz |
ChangeLogTag: Sun Feb 27 08:50:14 UTC 2011 Olli Savia <ops@iki.fi>
Diffstat (limited to 'ACE/include/makeinclude/platform_linux.GNU')
-rw-r--r-- | ACE/include/makeinclude/platform_linux.GNU | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/include/makeinclude/platform_linux.GNU b/ACE/include/makeinclude/platform_linux.GNU index 46345336b98..3c3c793cf3a 100644 --- a/ACE/include/makeinclude/platform_linux.GNU +++ b/ACE/include/makeinclude/platform_linux.GNU @@ -35,10 +35,6 @@ ifeq (4.1.1-3mdk, $(findstring 4.1.1-3mdk,$(CXX_FULL_VERSION))) gcc_template_instantiation_visibility ?= 1 endif -ifeq ($(threads),1) - CPPFLAGS += -D_REENTRANT $(PLATFORM_AIO_SUPPORT) -endif # threads - ifeq ($(buildbits),32) FLAGS_C_CC += -m32 LDFLAGS += -m32 @@ -64,7 +60,8 @@ LD = $(CXX) LIBS += -ldl ifeq ($(threads),1) - LIBS += -lpthread + CPPFLAGS += $(PLATFORM_AIO_SUPPORT) + FLAGS_C_CC += -pthread # look for the rt library in the usual places LIBS += $(shell test "`ls -L /usr/lib*/librt.so* /lib*/librt.so*`" && echo -lrt) endif |