gcc takes -G instead of -shared on solaris.
authorGengbin Zheng <gzheng@illinois.edu>
Tue, 27 May 2003 15:09:34 +0000 (15:09 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Tue, 27 May 2003 15:09:34 +0000 (15:09 +0000)
src/QuickThreads/mkfiles/solaris-gcc

index 13bc2fcfd8a88b9bb8160581a0c3b40c6ed55866..16283178bc002eeac10d1eab55b5f8094ef583e4 100644 (file)
@@ -9,7 +9,7 @@ qt: md/sparc.h qt.c md/sparc.s
        $(CC) -pedantic -Wall -c -o qt.o qt.c
        as -o qtmds.o md/sparc.s
        ar q libqt.a qt.o qtmds.o
-       $(CC) -shared -o libqt.so  qt.o qtmds.o
+       $(CC) -G -o libqt.so  qt.o qtmds.o
 
 stp:
        $(CC) -c stp.c