embeddedartistry / libc

libc targeted for embedded systems usage. Reduced set of functionality (due to embedded nature). Chosen for portability and quick bringup.
MIT License
518 stars 67 forks source link

Don't force pic build (fixes b_staticpic) #138

Closed Vestrel closed 4 years ago

Vestrel commented 4 years ago

Don't force pic build

Description

Currently there is no way to disable pic build on master, because pic is forcefully enable in build files. This PR removes that and allows b_staticpic option to function correctly. b_staticpic seems to be enabled by default.

Also added readme entry for this option.

Type of change

How Has This Been Tested?

phillipjohnston commented 4 years ago

Thanks for your contribution @Vestrel. I'll fix the problems on the build server and get this merged in. Agree this is the right way.