Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8044


Ignore:
Timestamp:
Mar 8, 2011, 6:27:07 AM (14 years ago)
Author:
rgrieder
Message:

No -fpic on MinGW 64 bit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/mac_osx/cmake/CompilerConfigGCC.cmake

    r7526 r8044  
    6565
    6666# CMake doesn't seem to set the PIC flags right on certain 64 bit systems
    67 # Todo: MinGW too?
    68 IF(${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
     67IF(NOT MINGW AND ${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64")
    6968  ADD_COMPILER_FLAGS("-fPIC" CACHE)
    7069ENDIF()
Note: See TracChangeset for help on using the changeset viewer.