-
Notifications
You must be signed in to change notification settings - Fork 19
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
Compile your code with -fPIC or -fPIE #34
Comments
There some explicit handling for @mick-p1982 Do you remember what was the issue with |
This is somewhat similar (but not duplicate) to #23. We need to ensure that we properly copy |
The high-level feature CMake offers for PIC just don"t get processed normally... CMake must add it later in the pipeline. I"ve never heard of PIE; but I"m sure it can be added. I"m not offering. The PIC variable is injected near the bottom of the main script file. I should add that the feature isn"t about setting the "-fPIC" flag manually. It"s about the platform-independent feature provided by CMake. |
Fixed in e17969b |
I try to build my project with Travis. But with Qt5 there is such error. On my local machine no any problems. Travis has CMake 3.9.2.
The text was updated successfully, but these errors were encountered: