(file) Return to config-linux.mak CVS log (file) (dir) Up to [Pegasus] / pegasus / mak

Diff for /pegasus/mak/config-linux.mak between version 1.63 and 1.69.8.2

version 1.63, 2012/12/11 11:10:31 version 1.69.8.2, 2013/10/01 15:47:39
Line 97 
Line 97 
  
 ifeq ($(COMPILER), clang) ifeq ($(COMPILER), clang)
     FLAGS += -W -Wall -Wno-unused-parameter  -Wno-unused-value -D_GNU_SOURCE \     FLAGS += -W -Wall -Wno-unused-parameter  -Wno-unused-value -D_GNU_SOURCE \
         -DTHREAD_SAFE -D_REENTRANT -Wno-unused-function -Werror=unused-variable          -DTHREAD_SAFE -D_REENTRANT -Werror=unused-variable -Wno-unused-function
 else else
     FLAGS += -W -Wall -Wno-unused  -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT      FLAGS += -W -Wall -Wno-unused -Wunused-variable
     # Starting with gcc 4.3 specific warnings can be reported as error
     # Enabling a specific selection of warnings to turn into errors
     ifeq ($(shell expr $(GCC_VERSION) '>=' 4.3), 1)
       FLAGS += -Werror=unused-variable
 endif endif
       FLAGS += -D_GNU_SOURCE -DTHREAD_SAFE -D_REENTRANT
   endif
   
   
 ##============================================================================== ##==============================================================================
 ## ##
 ## The DYNAMIC_FLAGS variable defines linker flags that only apply to shared ## The DYNAMIC_FLAGS variable defines linker flags that only apply to shared
Line 112 
Line 120 
 ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS ifdef PEGASUS_USE_DEBUG_BUILD_OPTIONS
   FLAGS += -g   FLAGS += -g
 else else
   FLAGS += -s  
   #   #
   # The -fno-enforce-eh-specs is not available in 2.9.5 and it probably   # The -fno-enforce-eh-specs is not available in 2.9.5 and it probably
   # appeared in the 3.0 series of compilers.   # appeared in the 3.0 series of compilers.
   #   #
   ifeq ($(COMPILER), gnu)   ifeq ($(COMPILER), gnu)
      # disable the strict aliasing
   ifeq ($(shell expr $(GCC_VERSION) '>=' 3.0), 1)   ifeq ($(shell expr $(GCC_VERSION) '>=' 3.0), 1)
     EXTRA_CXX_FLAGS += -fno-enforce-eh-specs       EXTRA_CXX_FLAGS += -fno-enforce-eh-specs -fno-strict-aliasing
   endif   endif
   else  
           EXTRA_CXX_FLAGS += -fno-enforce-eh-specs  
   endif   endif
  
   ifdef PEGASUS_OPTIMIZE_FOR_SIZE   ifdef PEGASUS_OPTIMIZE_FOR_SIZE
       ifeq ($(COMPILER), gnu)
     FLAGS += -Os     FLAGS += -Os
   else   else
         FLAGS += -Oz
       endif
     else
     FLAGS += -O2     FLAGS += -O2
   endif   endif
 endif endif


Legend:
Removed from v.1.63  
changed lines
  Added in v.1.69.8.2

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2