Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
openSUSE:13.1:Update
avogadro
shlib-pic-flag.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File shlib-pic-flag.patch of Package avogadro
Index: avogadro-1.1.0/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt =================================================================== --- avogadro-1.1.0.orig/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt +++ avogadro-1.1.0/libavogadro/src/extensions/crystallography/spglib/CMakeLists.txt @@ -19,7 +19,5 @@ add_library(spglib STATIC ${spglib_SRCS} # Suppress spglib warnings set_target_properties(spglib PROPERTIES COMPILE_FLAGS "-w") -# Set -fPIC on x86_64 -if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" ) -endif() +# Add -fPIC +set_target_properties(spglib PROPERTIES POSITION_INDEPENDENT_CODE TRUE) Index: avogadro-1.1.0/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt =================================================================== --- avogadro-1.1.0.orig/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt +++ avogadro-1.1.0/libavogadro/src/extensions/swcntbuilder/tubegen/CMakeLists.txt @@ -18,8 +18,5 @@ add_library(tubegen STATIC ${tubegen_SRC # Suppress warnings set_target_properties(tubegen PROPERTIES COMPILE_FLAGS "-w") -# Set -fPIC on x86_64 -if("${CMAKE_SYSTEM_PROCESSOR}" STREQUAL "x86_64") - set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC" ) - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC" ) -endif() +# Add -fPIC +set_target_properties(tubegen PROPERTIES POSITION_INDEPENDENT_CODE TRUE)
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor