Revert "Fix shared library generation flags."

This reverts commit 67657b80ab36bd624687ce1bb4980b4659ed5811.

Conflicts:
	build/tools/builder-funcs.sh

Change-Id: I1a3e45ac6d27d655fd31b71aeb695b6009151edc
Revert "Replace -nostdlib with -nodefaultlibs when crtbegin/end are needed."

This reverts commit d48f2fea248cd0b1b4350f688dea33ec64132c54.

Conflicts:
	build/tools/builder-funcs.sh

Change-Id: Iaffe109082583b498ea3058cdfa8b37d0eb51521
Merge pull request #108 from awong-dev/revert_stdlib

Revert stdlib