Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove GLSLANG_BUILD_PIC flag #2326

Merged
merged 2 commits into from
Jul 7, 2020
Merged

Conversation

ben-clayton
Copy link
Contributor

On closer inspection, it appears that nearly all the targets use the POSITION_INDEPENDENT_CODE target option anyway.
Simplify all this away by always being PIC.

`GenericCodeGen` and `MachineIndependent` were missing from the generated visual studio solutions. Add these.
On closer inspection, it appears that nearly all the targets use the `POSITION_INDEPENDENT_CODE` target option anyway.
Simplify all this away by always being PIC.
@ben-clayton ben-clayton marked this pull request as ready for review July 7, 2020 15:08
@ben-clayton
Copy link
Contributor Author

Based on #2325.

@johnkslang johnkslang merged commit e8c9fd6 into KhronosGroup:master Jul 7, 2020
@ben-clayton ben-clayton deleted the always_pic branch July 7, 2020 16:42
ben-clayton added a commit to ben-clayton/vkb that referenced this pull request Jul 7, 2020
The very short existance of `GLSLANG_BUILD_PIC` was removed in KhronosGroup/glslang#2326 as it became clear that nearly all the targets use the `POSITION_INDEPENDENT_CODE` target option, so the new targets also use this.
As all glslang targets now use `POSITION_INDEPENDENT_CODE`, there's no need for `GLSLANG_BUILD_PIC`.
dj2 pushed a commit to google/vkb that referenced this pull request Jul 7, 2020
The very short existance of `GLSLANG_BUILD_PIC` was removed in KhronosGroup/glslang#2326 as it became clear that nearly all the targets use the `POSITION_INDEPENDENT_CODE` target option, so the new targets also use this.
As all glslang targets now use `POSITION_INDEPENDENT_CODE`, there's no need for `GLSLANG_BUILD_PIC`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants