jdk/make/common/Defs-linux.gmk
changeset 5801 8008ed6e4a37
parent 5780 3f7be5f312ae
parent 5632 5179a4221430
child 7668 d4a77089c587
equal deleted inserted replaced
5800:5db7479be994 5801:8008ed6e4a37
   192 ifeq ($(FASTDEBUG), true)
   192 ifeq ($(FASTDEBUG), true)
   193   CFLAGS_DBG    += $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL))
   193   CFLAGS_DBG    += $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL))
   194   CXXFLAGS_DBG	+= $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL))
   194   CXXFLAGS_DBG	+= $(CC_OPT/$(FASTDEBUG_OPTIMIZATION_LEVEL))
   195 endif
   195 endif
   196 
   196 
   197 CPPFLAGS_COMMON = -D$(ARCH) -DARCH='"$(ARCH)"' -DLINUX $(VERSION_DEFINES) \
   197 CPP_ARCH_FLAGS = -DARCH='"$(ARCH)"'
       
   198 
       
   199 # Alpha arch does not like "alpha" defined (potential general arch cleanup issue here)
       
   200 ifneq ($(ARCH),alpha)
       
   201   CPP_ARCH_FLAGS += -D$(ARCH)
       
   202 else
       
   203   CPP_ARCH_FLAGS += -D_$(ARCH)_
       
   204 endif
       
   205 
       
   206 CPPFLAGS_COMMON = $(CPP_ARCH_FLAGS) -DLINUX $(VERSION_DEFINES) \
   198 		  -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT
   207 		  -D_LARGEFILE64_SOURCE -D_GNU_SOURCE -D_REENTRANT
   199 
   208 
   200 ifeq ($(ARCH_DATA_MODEL), 64)
   209 ifeq ($(ARCH_DATA_MODEL), 64)
   201 CPPFLAGS_COMMON += -D_LP64=1
   210 CPPFLAGS_COMMON += -D_LP64=1
   202 endif
   211 endif