Changeset 2297


Ignore:
Timestamp:
09/14/11 16:18:00 (13 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Linker flags '-Wl,-s' is effective only for linking.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/CMakeLists.txt

    r2296 r2297  
    5757
    5858# flags for Release build
    59 set( CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wl,-s" )
     59set( CMAKE_SHARED_LINKER_FLAGS_RELEASE "-Wl,-s" )
     60set( CMAKE_EXE_LINKER_FLAGS_RELEASE "-Wl,-s" )
    6061
    6162# flags for MinSizeRel build
    62 set( CMAKE_CXX_FLAGS_MINSIZEREL "${CMAKE_CXX_FLAGS_MINSIZEREL} -Wl,-s" )
     63set( CMAKE_SHARED_LINKER_FLAGS_MINSIZEREL "-Wl,-s" )
     64set( CMAKE_EXE_LINKER_FLAGS_MINSIZEREL "-Wl,-s" )
    6365
    6466# default flags
Note: See TracChangeset for help on using the changeset viewer.