summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_linux_cxx.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-29 19:22:36 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-12-29 19:22:36 +0000
commit00a97c1d42b1ef514e660f338f8425a4e36356e6 (patch)
treea7fca74af787053707b42eac94f60c629919fd54 /include/makeinclude/platform_linux_cxx.GNU
parenta40345e463d9c26a21295bd10cc3900570b54e6b (diff)
downloadATCD-00a97c1d42b1ef514e660f338f8425a4e36356e6.tar.gz
ChangeLogTag: Wed Dec 29 13:21:48 1999 David L. Levine <levine@cs.wustl.edu>
Diffstat (limited to 'include/makeinclude/platform_linux_cxx.GNU')
-rw-r--r--include/makeinclude/platform_linux_cxx.GNU4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/makeinclude/platform_linux_cxx.GNU b/include/makeinclude/platform_linux_cxx.GNU
index 86c790f6fca..518f9fdf4d2 100644
--- a/include/makeinclude/platform_linux_cxx.GNU
+++ b/include/makeinclude/platform_linux_cxx.GNU
@@ -28,13 +28,15 @@ LIBS += -ldl -lpthread
ifeq (-DACE_HAS_AIO_CALLS,$(PLATFORM_AIO_SUPPORT))
LIBS += -lrt
endif
+MATHLIB = -lm
OCFLAGS += -O4
PIC =
ARFLAGS = rsuv
# When libraries are archived, a hash index is automatically created
# so there is no need for ranlib
RANLIB = @true
-SOFLAGS = -shared $(ACELIB) cxx_repository/*.o
+SOFLAGS = -shared $(ACELIB) \
+ `test -f "cxx_repository/*.o" && echo 'cxx_repository/*.o'`
SOBUILD = $(RM) $@; $(COMPILE.cc) $(PIC) -o $(VSHDIR)$*.o $< && \
ln $(VSHDIR)$*.o $@