-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
libyices: with --enable-static and --with-pic, enforce PIC libgmp.a
One problem I came across was that most of the time, when I was doing ./configure --enable-static --with-pic the produced libyices.a would still contain non-PIC libgmp.a, although being itself PIC. In this commit, I enforce that if --with-pic is given, then: 1) either --with-pic-gmp has been given, in this case we use that for creating the PIC libyices.a; 2) or --with-pic-gmp has not been given and thus we try to simply use the shared gmp through -lgmp. Reminder: we also check that the system libgmp.a or the libgmp.a given with --with-static-gmp is PIC. If it is the case, the PIC libgmp.a will be used for --with-pic.
- Loading branch information
Showing
2 changed files
with
94 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters