comparison make/lib/CompileLibjsig.gmk @ 12293:325a8906aca8

8169625: Libjsig build doesn't set flags for ppc64/s390 builds Reviewed-by: erikj
author simonis
date Mon, 14 Nov 2016 11:15:43 +0100
parents 15b3ef116f15
children
comparison
equal deleted inserted replaced
1:09fb242e9ef7 2:7d92636599f7
46 # Flags for other CPUs can be provided in EXTRA_CFLAGS 46 # Flags for other CPUs can be provided in EXTRA_CFLAGS
47 ifeq ($(OPENJDK_TARGET_CPU), x86_64) 47 ifeq ($(OPENJDK_TARGET_CPU), x86_64)
48 LIBJSIG_CPU_FLAGS := -m64 48 LIBJSIG_CPU_FLAGS := -m64
49 else ifeq ($(OPENJDK_TARGET_CPU), x86) 49 else ifeq ($(OPENJDK_TARGET_CPU), x86)
50 LIBJSIG_CPU_FLAGS := -m32 -march=i586 50 LIBJSIG_CPU_FLAGS := -m32 -march=i586
51 else ifeq ($(OPENJDK_TARGET_CPU), ppc64)
52 LIBJSIG_CPU_FLAGS := -mcpu=powerpc64 -mtune=power5
53 else ifeq ($(OPENJDK_TARGET_CPU), ppc64le)
54 LIBJSIG_CPU_FLAGS := -DABI_ELFv2 -mcpu=power8 -mtune=power8
55 else ifeq ($(OPENJDK_TARGET_CPU), s390x)
56 LIBJSIG_CPU_FLAGS := -mbackchain -march=z10
51 endif 57 endif
52 58
53 else ifeq ($(OPENJDK_TARGET_OS), solaris) 59 else ifeq ($(OPENJDK_TARGET_OS), solaris)
54 LIBJSIG_CFLAGS := -m64 -KPIC -mt 60 LIBJSIG_CFLAGS := -m64 -KPIC -mt
55 LIBJSIG_LDFLAGS := -m64 -mt -xnolib 61 LIBJSIG_LDFLAGS := -m64 -mt -xnolib