diff options
author | jdp <jdp@FreeBSD.org> | 1999-01-09 21:51:00 +0000 |
---|---|---|
committer | jdp <jdp@FreeBSD.org> | 1999-01-09 21:51:00 +0000 |
commit | ffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1 (patch) | |
tree | 56fbd00f1073a1c35b0739f64a29af1301a31511 /gnu/lib/libstdc++ | |
parent | a91fb30979663d29289500055cfac86abf1c3789 (diff) | |
download | FreeBSD-src-ffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1.zip FreeBSD-src-ffcc901f03be5fe906be6bc5e1cbe34adcd2f3d1.tar.gz |
Switch to using ".So" as the extension for PIC object files rather
than ".so". The old extension conflicted with well-established
naming conventions for dynamically loadable modules.
The "clean" targets continue to remove ".so" files too, to deal with
old systems.
Diffstat (limited to 'gnu/lib/libstdc++')
-rw-r--r-- | gnu/lib/libstdc++/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile index 10c3198..b8059d4 100644 --- a/gnu/lib/libstdc++/Makefile +++ b/gnu/lib/libstdc++/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.10 1998/10/11 04:56:03 peter Exp $ +# $Id: Makefile,v 1.11 1998/12/27 17:25:27 bde Exp $ # GPPDIR= ${.CURDIR}/../../../contrib/libg++ @@ -99,7 +99,7 @@ ${file}.o: ${file}.cc @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} @mv ${.TARGET}.tmp ${.TARGET} -${file}.so: ${file}.cc +${file}.So: ${file}.cc ${CXX} ${PICFLAG} -DPIC ${CXXFLAGS} -frtti -c ${DIR}/${file}.cc -o ${.TARGET} @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} @mv ${.TARGET}.tmp ${.TARGET} @@ -118,7 +118,7 @@ ${file}.o: ${file}.cc @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} @mv ${.TARGET}.tmp ${.TARGET} -${file}.so: ${file}.cc +${file}.So: ${file}.cc ${CXX} ${PICFLAG} -DPIC ${CXXFLAGS} -O0 -frtti -fhandle-exceptions -c ${DIR}/${file}.cc -o ${.TARGET} @${LD} -o ${.TARGET}.tmp -x -r ${.TARGET} @mv ${.TARGET}.tmp ${.TARGET} |