comparison make/common/shared/Compiler-gcc.gmk @ 422:c51121419e30

6727683: Cleanup use of COMPILER_WARNINGS_FATAL in makefiles Reviewed-by: tbell
author ohair
date Sun, 27 Jul 2008 18:42:57 -0700
parents b6d6877c1155
children 5df63dc24cfe 30bf00392b6d
comparison
equal deleted inserted replaced
2:0a3853ca892a 3:6432e61584e4
71 ifneq ("$(findstring sparc,$(ARCH))", "") 71 ifneq ("$(findstring sparc,$(ARCH))", "")
72 # sparc or sparcv9 72 # sparc or sparcv9
73 REQUIRED_CC_VER = 4.0 73 REQUIRED_CC_VER = 4.0
74 REQUIRED_GCC_VER = 4.0.* 74 REQUIRED_GCC_VER = 4.0.*
75 else 75 else
76 ifeq ($(ARCH_DATA_MODEL), 32)
77 # i586
78 REQUIRED_CC_VER = 3.2 76 REQUIRED_CC_VER = 3.2
79 REQUIRED_GCC_VER = 3.2.1* 77 ifeq ($(ARCH_DATA_MODEL), 32)
80 REQUIRED_GCC_VER_INT = 3.2.1-7a 78 REQUIRED_GCC_VER = 3.2.1*
81 else 79 REQUIRED_GCC_VER_INT = 3.2.1-7a
82 ifeq ($(ARCH), amd64) 80 else
83 # amd64 81 ifeq ($(ARCH), amd64)
84 REQUIRED_CC_VER = 3.2 82 REQUIRED_GCC_VER = 3.2.*
85 REQUIRED_GCC_VER = 3.2.* 83 endif
86 endif 84 ifeq ($(ARCH), ia64)
87 ifeq ($(ARCH), ia64) 85 REQUIRED_GCC_VER = 2.9[56789].*
88 # ia64 86 endif
89 REQUIRED_CC_VER = 3.2 87 endif
90 REQUIRED_GCC_VER = 2.9[56789].*
91 endif
92 endif
93 endif 88 endif
94 # Option used to create a shared library 89 # Option used to create a shared library
95 SHARED_LIBRARY_FLAG = -shared -mimpure-text 90 SHARED_LIBRARY_FLAG = -shared -mimpure-text
96 SUN_COMP_VER := $(shell $(CC) --verbose 2>&1 ) 91 SUN_COMP_VER := $(shell $(CC) --verbose 2>&1 )
97 92