comparison make/common/Program.gmk @ 3767:54d8193f177b

7027910: Add basic cross-compilation support and add ARM/PPC to the known architectures in the open code Summary: Cross-compilation support Reviewed-by: ohair, andrew
author dholmes
date Wed, 16 Mar 2011 18:54:50 -0400
parents 6aeed99af874
children 272483f6650b 244b27bb14f8
comparison
equal deleted inserted replaced
12:d94a5106ee47 13:dd2b1719f88d
81 LDFLAGS += -R \$$ORIGIN/../../lib/$(LIBARCH)/jli 81 LDFLAGS += -R \$$ORIGIN/../../lib/$(LIBARCH)/jli
82 LDFLAGS += -R \$$ORIGIN/../../jre/lib/$(LIBARCH)/jli 82 LDFLAGS += -R \$$ORIGIN/../../jre/lib/$(LIBARCH)/jli
83 endif 83 endif
84 endif 84 endif
85 ifeq ($(PLATFORM), linux) 85 ifeq ($(PLATFORM), linux)
86 LDFLAGS += -Wl,-z -Wl,origin 86 LDFLAGS += $(LDFLAG_Z_ORIGIN)
87 LDFLAGS += -Wl,--allow-shlib-undefined 87 LDFLAGS += -Wl,--allow-shlib-undefined
88 LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../lib/$(LIBARCH)/jli 88 LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../lib/$(LIBARCH)/jli
89 LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../jre/lib/$(LIBARCH)/jli 89 LDFLAGS += -Wl,-rpath -Wl,\$$ORIGIN/../jre/lib/$(LIBARCH)/jli
90 endif 90 endif
91 endif 91 endif