Use gcc -shared rather than gcc -G for shared library linking on Solaris.
Use gcc -shared rather than gcc -G for shared library linking on Solaris.

suggested by Bob Deblier (bob@virtualunlimited.com)

pavanvd/postgres-xl,xuegang/gpdb,janebeckman/gpdb,xuegang/gpdb,Chibin/gpdb,xinzweb/gpdb,postmind-net/postgres-xl,Chibin/gpdb,chrishajas/gpdb,greenplum-db/gpdb,Postgres-XL/Postgres-XL,Postgres-XL/Postgres-XL,postmind-net/postgres-xl,rvs/gpdb,ovr/postgres-xl,pavanvd/postgres-xl,tpostgres-projects/tPostgres,Chibin/gpdb,edespino/gpdb,50wu/gpdb,techdragon/Postgres-XL,jmcatamney/gpdb,cjcjameson/gpdb,ahachete/gpdb,postmind-net/postgres-xl,xuegang/gpdb,kaknikhil/gpdb,atris/gpdb,CraigHarris/gpdb,edespino/gpdb,rubikloud/gpdb,edespino/gpdb,chrishajas/gpdb,0x0FFF/gpdb,cjcjameson/gpdb,50wu/gpdb,rubikloud/gpdb,randomtask1155/gpdb,xinzweb/gpdb,0x0FFF/gpdb,ovr/postgres-xl,foyzur/gpdb,Chibin/gpdb,tangp3/gpdb,yazun/postgres-xl,lintzc/gpdb,0x0FFF/gpdb,foyzur/gpdb,adam8157/gpdb,kmjungersen/PostgresXL,ahachete/gpdb,tangp3/gpdb,oberstet/postgres-xl,snaga/postgres-xl,kmjungersen/PostgresXL,yuanzhao/gpdb,techdragon/Postgres-XL,rvs/gpdb,tangp3/gpdb,zaksoup/gpdb,cjcjameson/gpdb,rubikloud/gpdb,jmcatamney/gpdb,jmcatamney/gpdb,royc1/gpdb,janebeckman/gpdb,oberstet/postgres-xl,atris/gpdb,ovr/postgres-xl,zeroae/postgres-xl,foyzur/gpdb,greenplum-db/gpdb,greenplum-db/gpdb,Quikling/gpdb,adam8157/gpdb,chrishajas/gpdb,0x0FFF/gpdb,jmcatamney/gpdb,cjcjameson/gpdb,rubikloud/gpdb,CraigHarris/gpdb,techdragon/Postgres-XL,Quikling/gpdb,snaga/postgres-xl,kaknikhil/gpdb,ashwinstar/gpdb,greenplum-db/gpdb,edespino/gpdb,snaga/postgres-xl,lisakowen/gpdb,50wu/gpdb,janebeckman/gpdb,randomtask1155/gpdb,atris/gpdb,lintzc/gpdb,lintzc/gpdb,ahachete/gpdb,Quikling/gpdb,Chibin/gpdb,ashwinstar/gpdb,janebeckman/gpdb,yazun/postgres-xl,50wu/gpdb,cjcjameson/gpdb,CraigHarris/gpdb,chrishajas/gpdb,edespino/gpdb,Quikling/gpdb,royc1/gpdb,yuanzhao/gpdb,ovr/postgres-xl,Quikling/gpdb,janebeckman/gpdb,50wu/gpdb,CraigHarris/gpdb,tangp3/gpdb,CraigHarris/gpdb,yuanzhao/gpdb,50wu/gpdb,arcivanov/postgres-xl,ahachete/gpdb,chrishajas/gpdb,jmcatamney/gpdb,zaksoup/gpdb,lisakowen/gpdb,randomtask1155/gpdb,0x0FFF/gpdb,Quikling/gpdb,ashwinstar/gpdb,yuanzhao/gpdb,janebeckman/gpdb,kaknikhil/gpdb,atris/gpdb,postmind-net/postgres-xl,atris/gpdb,lintzc/gpdb,adam8157/gpdb,zeroae/postgres-xl,oberstet/postgres-xl,lpetrov-pivotal/gpdb,yazun/postgres-xl,lpetrov-pivotal/gpdb,tpostgres-projects/tPostgres,Quikling/gpdb,foyzur/gpdb,lintzc/gpdb,techdragon/Postgres-XL,edespino/gpdb,xinzweb/gpdb,rubikloud/gpdb,lisakowen/gpdb,cjcjameson/gpdb,arcivanov/postgres-xl,lpetrov-pivotal/gpdb,adam8157/gpdb,yazun/postgres-xl,pavanvd/postgres-xl,rvs/gpdb,ashwinstar/gpdb,ashwinstar/gpdb,randomtask1155/gpdb,lisakowen/gpdb,cjcjameson/gpdb,chrishajas/gpdb,xuegang/gpdb,snaga/postgres-xl,royc1/gpdb,janebeckman/gpdb,yuanzhao/gpdb,rubikloud/gpdb,xinzweb/gpdb,CraigHarris/gpdb,techdragon/Postgres-XL,xuegang/gpdb,postmind-net/postgres-xl,yuanzhao/gpdb,snaga/postgres-xl,atris/gpdb,randomtask1155/gpdb,atris/gpdb,kaknikhil/gpdb,Postgres-XL/Postgres-XL,cjcjameson/gpdb,Postgres-XL/Postgres-XL,greenplum-db/gpdb,zaksoup/gpdb,kmjungersen/PostgresXL,rvs/gpdb,Chibin/gpdb,CraigHarris/gpdb,lintzc/gpdb,foyzur/gpdb,randomtask1155/gpdb,Quikling/gpdb,0x0FFF/gpdb,kaknikhil/gpdb,tpostgres-projects/tPostgres,rubikloud/gpdb,jmcatamney/gpdb,yazun/postgres-xl,CraigHarris/gpdb,xuegang/gpdb,edespino/gpdb,edespino/gpdb,ahachete/gpdb,0x0FFF/gpdb,chrishajas/gpdb,ashwinstar/gpdb,atris/gpdb,xinzweb/gpdb,royc1/gpdb,ashwinstar/gpdb,xuegang/gpdb,greenplum-db/gpdb,arcivanov/postgres-xl,yuanzhao/gpdb,tangp3/gpdb,greenplum-db/gpdb,lintzc/gpdb,zeroae/postgres-xl,tangp3/gpdb,oberstet/postgres-xl,xinzweb/gpdb,zaksoup/gpdb,janebeckman/gpdb,Chibin/gpdb,rvs/gpdb,rvs/gpdb,zaksoup/gpdb,greenplum-db/gpdb,zeroae/postgres-xl,50wu/gpdb,foyzur/gpdb,lpetrov-pivotal/gpdb,CraigHarris/gpdb,lpetrov-pivotal/gpdb,50wu/gpdb,kaknikhil/gpdb,lpetrov-pivotal/gpdb,kaknikhil/gpdb,zaksoup/gpdb,xinzweb/gpdb,ahachete/gpdb,kmjungersen/PostgresXL,rvs/gpdb,chrishajas/gpdb,rvs/gpdb,yuanzhao/gpdb,xinzweb/gpdb,ovr/postgres-xl,lpetrov-pivotal/gpdb,janebeckman/gpdb,rvs/gpdb,zaksoup/gpdb,foyzur/gpdb,arcivanov/postgres-xl,Chibin/gpdb,tangp3/gpdb,Quikling/gpdb,kaknikhil/gpdb,royc1/gpdb,Chibin/gpdb,lisakowen/gpdb,royc1/gpdb,lisakowen/gpdb,pavanvd/postgres-xl,ahachete/gpdb,kaknikhil/gpdb,edespino/gpdb,royc1/gpdb,Quikling/gpdb,adam8157/gpdb,adam8157/gpdb,royc1/gpdb,randomtask1155/gpdb,arcivanov/postgres-xl,tpostgres-projects/tPostgres,rvs/gpdb,yuanzhao/gpdb,kaknikhil/gpdb,cjcjameson/gpdb,xuegang/gpdb,foyzur/gpdb,arcivanov/postgres-xl,jmcatamney/gpdb,janebeckman/gpdb,Postgres-XL/Postgres-XL,ashwinstar/gpdb,tpostgres-projects/tPostgres,kmjungersen/PostgresXL,xuegang/gpdb,Chibin/gpdb,lisakowen/gpdb,jmcatamney/gpdb,yuanzhao/gpdb,lintzc/gpdb,lpetrov-pivotal/gpdb,lintzc/gpdb,randomtask1155/gpdb,edespino/gpdb,pavanvd/postgres-xl,adam8157/gpdb,rubikloud/gpdb,zaksoup/gpdb,cjcjameson/gpdb,adam8157/gpdb,tangp3/gpdb,oberstet/postgres-xl,zeroae/postgres-xl,0x0FFF/gpdb,lisakowen/gpdb,ahachete/gpdb