Archived issue #0027461
wrong flag for static linking under linux results in error
Description
Line 109 in occt_def_flag.cmake is setting -lm for static linking on Linux:
set (CMAKE_STATIC_LINKER_FLAGS "-lm ${CMAKE_SHARED_STATIC_FLAGS}")
--> This results in an error message during static linking using ar
==> /usr/bin/ar two different operation options specified
set (CMAKE_STATIC_LINKER_FLAGS "-lm ${CMAKE_SHARED_STATIC_FLAGS}")
--> This results in an error message during static linking using ar
==> /usr/bin/ar two different operation options specified
Public activity
2 archived notes
Participants are labeled by their role within this record.
This should be already fixed in current master (see commit for issue 0027380, hash cd9ad1b77). Please try.
Dear Commenter 1,
please close the bug as no more relevant.
please close the bug as no more relevant.