--- plplot-5.12.0/bindings/ada/CMakeLists.txt.orig 2017-02-09 14:10:00.786335664 +0100 +++ plplot-5.12.0/bindings/ada/CMakeLists.txt 2017-02-09 14:10:44.287218556 +0100 @@ -19,6 +19,9 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA if(ENABLE_ada) + IF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") + ADD_DEFINITIONS(-fPIC) + ENDIF(CMAKE_SYSTEM_PROCESSOR MATCHES "x86_64") # Specification files containing, e.g., variables, types, and subprogramme (subprocedure) declarations. set(SPEC_SOURCE_LIST