summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_linux_lxpthread.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-26 02:25:41 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1998-08-26 02:25:41 +0000
commitcfee76b35a0c35793eea977e8a3977fbf433b4a0 (patch)
treee99fc1e959eb08c3f0e7782f55cc8ad0f580611f /include/makeinclude/platform_linux_lxpthread.GNU
parent4f6e220da23fccca3682ed3a194b01509e45493b (diff)
downloadATCD-cfee76b35a0c35793eea977e8a3977fbf433b4a0.tar.gz
added NO_IMPLICIT_TEMPLATES support
Diffstat (limited to 'include/makeinclude/platform_linux_lxpthread.GNU')
-rw-r--r--include/makeinclude/platform_linux_lxpthread.GNU6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/makeinclude/platform_linux_lxpthread.GNU b/include/makeinclude/platform_linux_lxpthread.GNU
index 09cf8b793f3..0c76c5d298c 100644
--- a/include/makeinclude/platform_linux_lxpthread.GNU
+++ b/include/makeinclude/platform_linux_lxpthread.GNU
@@ -11,11 +11,15 @@
debug = 1
optimize = 1
+ifeq ($(NO_IMPLICIT_TEMPLATES),)
+ NO_IMPLICIT_TEMPLATES = -fno-implicit-templates
+endif
+
CC = gcc
CXX = g++
CFLAGS += -Wall -pipe \
-D_POSIX_THREADS -D_POSIX_THREAD_SAFE_FUNCTIONS -D_REENTRANT
-CCFLAGS += $(CFLAGS) -fno-implicit-templates
+CCFLAGS += $(CFLAGS) $(NO_IMPLICIT_TEMPLATES)
DCFLAGS += -g
DLD = $(CXX)
LD = $(CXX)