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

Diff for /pegasus/mak/program.mak between version 1.34 and 1.34.8.1

version 1.34, 2008/12/02 09:00:01 version 1.34.8.1, 2013/06/03 22:34:47
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.34  
changed lines
  Added in v.1.34.8.1

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2