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

Diff for /pegasus/mak/program.mak between version 1.33 and 1.36

version 1.33, 2008/12/01 17:49:05 version 1.36, 2012/12/04 15:54:01
Line 46 
Line 46 
 include $(ROOT)/mak/program-unix.mak include $(ROOT)/mak/program-unix.mak
 # GCC supports the -fPIE switch in version 3.4 or later # GCC supports the -fPIE switch in version 3.4 or later
  ifeq ($(OS),linux)  ifeq ($(OS),linux)
      ifeq ($(COMPILER), gnu)
    ifeq ($(shell expr $(GCC_VERSION) '>=' 3.4), 1)    ifeq ($(shell expr $(GCC_VERSION) '>=' 3.4), 1)
       FLAGS := $(FLAGS:-fPIC=-fPIE)       FLAGS := $(FLAGS:-fPIC=-fPIE)
    endif    endif
      else
          FLAGS:= $(FLAGS:-fpic=-fpie)
      endif
  endif  endif
 endif endif
 ifeq ($(OS_TYPE),vms) ifeq ($(OS_TYPE),vms)


Legend:
Removed from v.1.33  
changed lines
  Added in v.1.36

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2