-
Notifications
You must be signed in to change notification settings - Fork 138
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
Fortran files do not build without -fPIC #31
Comments
The C files / CFLAGS are handled correctly. The problem here is with fortran files / FFLAGS. |
Indeed, I set both CFLAGS and FFLAGS. |
We should just make |
This should now be fixed, ever since JuliaMath/openspecfun@20242c3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When building the Julia RPM package, I noticed openlibm does not build if CFLAGS is set and it does not include -fPIC. I think this flag should be passed explicitly everywhere it may be needed (or always added to CFLAGS), since packagers should not have to worry about this.
When building Julia as a whole, passing -fPIC means that executables will also use this flag. And I need to set CFLAGS to respect the ditribution's defaults.
The log is:
The text was updated successfully, but these errors were encountered: